Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 1.31 KB

ReadMe.md

File metadata and controls

26 lines (16 loc) · 1.31 KB

Num Lock (LED and function keys) for macOS

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.

Usage

The initial state is Number mode. Press the NumLock key (Clear) to toggle the state.

Notice

The F18 is used for switching the NumLock to prevent double switch in some apps. e.g. Windows RDP

Known issues:

  1. Cannot use with Karabiner-Elements: Why?
  2. HIToolbox.framework is marked as deprecated, but seems no replacements in Cocoa.framework. (Related questions)
  3. 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.
  4. Cannot toggle the state in situations:
    • password dialog box
    • login page

Credits

setledsmac