1
0
Fork 0

Add mechanical locking switch support for NumLock and ScrollLock

This commit is contained in:
tmk 2013-07-23 10:56:03 +09:00
parent 5b425731c5
commit 2721022078
7 changed files with 75 additions and 28 deletions

View file

@ -164,12 +164,12 @@ TODO: Magic key combination to avoid unintentional press during plug in
**TBD**
Mechanical Locking support for CapsLock
---------------------------------------
To enable this feature define these two macros in `config.h` and use `KC_LCAP` for locking CapsLock in keymap instead of normal `KC_CAPS`. Resync option tries to keep lock switch state consistent with keyboard LED state.
Mechanical Locking support
--------------------------
This feature makes it possible for you to use mechanical switch for `CapsLock`, `NumLock` or `ScrollLock`. To enable this feature define these macros in `config.h` and use `KC_LCAP`, `KC_LNUM` or `KC_LSCR` in keymap for locking key instead of normal `KC_CAPS`, `KC_NLCK` or `KC_SLCK`. Resync option tries to keep lock switch state consistent with keyboard LED state.
#define CAPSLOCK_LOCKING_ENABLE
#define CAPSLOCK_LOCKING_RESYNC_ENABLE
#define LOCKING_SUPPORT_ENABLE
#define LOCKING_RESYNC_ENABLE
Start Your Own Project