diff options
author | Fredric Silberberg <[email protected]> | 2017-08-06 01:50:20 -0700 |
---|---|---|
committer | Jack Humbert <[email protected]> | 2017-08-08 10:02:53 -0400 |
commit | 8e1be7c792c4c9f65ba7e990f2a773a23b40d20c (patch) | |
tree | c82bdd82f0aa881e541f6b44fb73d3a54fdf886d /quantum/quantum.c | |
parent | 7a9fb7c96b876cf0d6c44c4649d3504572e56fa3 (diff) | |
download | qmk_firmware-8e1be7c792c4c9f65ba7e990f2a773a23b40d20c.tar.gz qmk_firmware-8e1be7c792c4c9f65ba7e990f2a773a23b40d20c.zip |
Initial implementation of the key_lock feature.
Diffstat (limited to 'quantum/quantum.c')
-rw-r--r-- | quantum/quantum.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index 1f8ce6c46f..c71a97bf28 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c @@ -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) && |