The command-line program is designed to implement the Num Lock functionality on macOS.
Similar to how it works on IBM compatible PCs, the NumLock key (Clear
key on macOS) toggles the status indicated by the NumLock LED, and assesses the status of any attached keyboards with numeric-pad.
The initial state is Number mode. Press the NumLock key (Clear
) to toggle the state.
The F18
is used for switching the NumLock
to prevent double switch in some apps. e.g. Windows RDP
- Cannot use with
Karabiner-Elements
: Why? HIToolbox.framework
is marked as deprecated, but seems no replacements inCocoa.framework
. (Related questions)- Attach a keyboard when the program is running sometimes may not set the NumLock to proper state. Try to toggle the NumLock key usually works well.
- Cannot toggle the state in situations:
- password dialog box
- login page