diff options
author | Konstantin Đorđević <vomindoraan@gmail.com> | 2018-12-28 20:07:56 +0100 |
---|---|---|
committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2018-12-28 11:07:56 -0800 |
commit | 93b004c943a4b13bd640fc83000e910b72cb4640 (patch) | |
tree | 48bde7eb31533cc3690f5638a2803deadfea0fc0 /tmk_core/common/action.h | |
parent | fbcbf4492685108a7f257df4e06871abd9def4d7 (diff) | |
download | qmk_firmware-93b004c943a4b13bd640fc83000e910b72cb4640.tar.gz |
* Keep pressed keys on layer state change
* Add doc comment for clear_keyboard_but_mods_and_keys
* Keep pressed keys only if PREVENT_STUCK_MODIFIERS is on
* Check STRICT_LAYER_RELEASE instead of PREVENT_STUCK_MODIFIERS
Diffstat (limited to 'tmk_core/common/action.h')
-rw-r--r-- | tmk_core/common/action.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tmk_core/common/action.h b/tmk_core/common/action.h index 5d797fd62..8e47e5339 100644 --- a/tmk_core/common/action.h +++ b/tmk_core/common/action.h @@ -94,6 +94,7 @@ void unregister_mods(uint8_t mods); //void set_mods(uint8_t mods); void clear_keyboard(void); void clear_keyboard_but_mods(void); +void clear_keyboard_but_mods_and_keys(void); void layer_switch(uint8_t new_layer); bool is_tap_key(keypos_t key); |