Rules for Bindkey Use with Keypads
When using bindkeys with keypads, the following rules should be considered:
If you display Virtuoso remotely, for example, using a VNC viewer or Hummingbird, there can be issues with the recognition of the NumLock state.
-
If
NumLockis on, only numeric bindings;KP_0throughKP_9,KP_Decimal/KP_Deleteand the surrounding keys (KP_Divide,KP_Multiply,KP_Enter, and so on) invoke bindkeys.
For example, ifNumLockis on, andKP_HomeorHomeis bound, but notKP_7, then pressing the7key on the keypad fails to invoke anything. Rather, it would only invoke a bindkey forKP_7. -
If
NumLockis off, then non-numeric keypad binding is searched first, followed by the numeric keypad binding, then finally the non-keypad binding.
For example, ifNumlockis off, andHomeis bound, but notKP_7orKP_Home, then pressing the7key on the keypad invokes the bindkey forHome. IfHomeandKP_7are both bound, but notKP_Home, then the bindkey forKP_7gets invoked. And, finally, ifKP_Homeis bound,KP_Homegets invoked.
Additionally, ifNumLockis off, then the keys that surround the keypad (for example,KP_Divide,KP_Multiply, andKP_Enter) works the same as ifNumLockwere on.
The symbol keys do not match the printable characters ("/", "*", and so on), however the Enter key on the keypad matches “Enter” if "KP_Enter" is not defined, whether or not NumLock is on. Also, for rule 2 above, KP_Decimal is considered to be a "numeric" binding as it shares a key with KP_Delete. Therefore, if NumLock is off, then pressing that key matches "KP_Delete" if that is defined, then "KP_Decimal", then finally "Delete". If NumLock is on, it only matches "KP_Decimal".
When working on remote servers, work with the CapsLock key off to avoid impacting the behavior of bindkeys.
Related Topics
Control Bindkey Display on Menus
Return to top