forked from mirrors/qmk_userspace
Initial implementation of the key_lock feature.
This commit is contained in:
parent
7a9fb7c96b
commit
8e1be7c792
8 changed files with 165 additions and 2 deletions
|
@ -193,6 +193,10 @@ bool process_record_quantum(keyrecord_t *record) {
|
|||
// }
|
||||
|
||||
if (!(
|
||||
#if defined(KEY_LOCK_ENABLE)
|
||||
// Must run first to be able to mask key_up events.
|
||||
process_key_lock(keycode, record) &&
|
||||
#endif
|
||||
process_record_kb(keycode, record) &&
|
||||
#if defined(MIDI_ENABLE) && defined(MIDI_ADVANCED)
|
||||
process_midi(keycode, record) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue