Initial implementation of the key_lock feature.

This commit is contained in:
Fredric Silberberg 2017-08-06 01:50:20 -07:00 committed by Jack Humbert
parent 7a9fb7c96b
commit 8e1be7c792
8 changed files with 165 additions and 2 deletions

View file

@ -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) &&