小键盘模式切换(插件为英语)

Numpad Nav Mode

  • 作者: Luke Davis (Open Source Systems, Ltd.)
  • 下载 稳定版

Numpad Nav Mode is an NVDA add-on, which allows you to easily switch your keyboard's numpad between NVDA's navigation controls and the non-screenreader Windows navigation controls. This can be especially useful for users migrating from Jaws to NVDA. This add-on also gives granular control over the numlock key toggle, both when NVDA starts, and optionally in profiles.

Navigation modes explanation and features

The normal functions of the PC number pad, with numlock off, are: page up, page down, home, end, four-way arrow keys, and a delete key. But NVDA completely takes over the numpad, to provide review keys, mouse controls, and object navigation controls. This is true even in laptop keyboard mode, which also duplicates those functions on non-numpad keys.

However some users do have a numpad on their laptop, and would prefer to use it for Windows navigation purposes (at least some of the time), especially because some laptops do not provide home, end, or other such keys. That is where this add-on can help. Additionally, some desktop users, for example those used to the way the numpad works in JAWS, may sometimes find it convenient to use the numpad for those keyboard functions rather than the normal NVDA keys, which this add-on enables. This includes the popular JAWS command NumpadInsert+Numpad2, for read to end, which was a specific feature request from some early users of this add-on.

工作原理

关闭数字键盘锁定后,无论您使用的是什么键盘布局,此插件都可以让您通过按 Alt+NVDA+小键盘加号(通常是最右侧的第二个长键),在普通 NVDA 导航模式和标准 Windows 编辑模式之间快速切换。您也可以为其在输入手势的键盘部分重新设置一个快捷键。

Note that this add-on doesn't disable the use of numpad insert as an NVDA modifier, if you have it set as such. If you want that feature, please let me know, although you can manually turn off numpad insert as a modifier in NVDA keyboard settings. It also doesn't change the NVDA function of numpad delete (key between zero and enter)--contact me if you desire this.

如果您希望 NVDA 启动时的小键盘模式始终为标准 Windows 编辑模式,您可以在NVDA设置中进行配置。转到NVDA 设置对话框,在类型列表找到Numpad Nav Mode(如要快速寻找,可依次按NVDA+N,P,S,然后按 N 数次,直到听到“Numpad Nav Mode”),选中 Start NVDA with the numpad set to Windows nav mode 复选框即可。

Numlock features

By default, nothing is done with the numlock key.

However, if you share your computer with a sighted user who prefers that numlock always be turned on, but you like having it off so that the numpad works with NVDA, you may want the numlock to automatically turned off when NVDA starts. Alternatively, you may enter a lot of data, and so prefer the numlock to always be on when you start NVDA.

Go to NVDA menu, Preferences, Settings, Numpad Nav Mode, and use the "state of numlock when NVDA starts or profile loads" selector. This has three options. The first, "do not change", is the default, and won't touch the numlock. It will be in whatever state it was in before NVDA started. The second option, is "turn numlock off", which will always turn the numlock off when NVDA starts. The third option, "Turn numlock on", will turn the numlock on if it was off when NVDA started. If you choose either the second or third option, the numlock will be restored to whatever state it was in before, when you exit NVDA. For example, if you choose "Turn numlock off", and numlock was on when you started NVDA: it will be turned off while you use NVDA, but will be turned back on when you exit NVDA.

Advanced use cases

If you use NVDA's powerful configuration profiles, and you would like the numlock to automatically turn on when you enter certain profiles, do the following:

  • While in the "normal profile", go to the Numpad Nav Mode settings panel described above. Check the box for "Initial numlock state is configuration profile dependent". This option is unchecked by default.
  • Select OK.
  • Change to the profile where you want numlock to be always turned off or on.
  • Go back to the Numpad Nav Mode settings panel, and select the option to Turn numlock off or on, as you prefer.
  • Then select OK. Now, whenever you enter this profile, the numlock will automatically change to the desired state.

Note that this is a new feature, and I don't know if anyone has use for this feature. If you find one, please send an email or open an issue, to let me know how you have found to make use of it.

Or, better yet, leave a review for the add-on, and comment on it there! Reviews are very helpful, whether or not you use that feature.

功能和建议

I encourage you to post an issue, or email with any feature suggestions, or other use cases that I haven't listed here, or just to let me know you find the add-on useful! But as mentioned above, if you do find it useful, please leave a review.

History

This add-on was the direct result of requests I've heard from users over the years, and a GitHub discussion in #9549. With thanks to @Qchristensen and @feerrenrut. The basic implementation of the numlock features was borrowed from the legacy NumLock Manager add-on, by Noelia Ruiz (@nvdaes on GitHub), and others. Used with permission.

Changelog

(This changelog is incomplete. See Git log for full details.)

  • 24.1.0: NVDA 2024.X compatibility.
  • 23.1.0: Added numlock management features. Better logging. Improved config profile handling (WIP).
  • 23.0: NVDA 2023.X compatibility.