Skip to content

zjyhjqs/NumLockMac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Num Lock on macOS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published