diff options
Diffstat (limited to 'tmk_core/common/action.h')
| -rw-r--r-- | tmk_core/common/action.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tmk_core/common/action.h b/tmk_core/common/action.h index acc55c7d3..8e47e5339 100644 --- a/tmk_core/common/action.h +++ b/tmk_core/common/action.h | |||
| @@ -62,7 +62,7 @@ void action_function(keyrecord_t *record, uint8_t id, uint8_t opt); | |||
| 62 | bool process_record_quantum(keyrecord_t *record); | 62 | bool process_record_quantum(keyrecord_t *record); |
| 63 | 63 | ||
| 64 | /* Utilities for actions. */ | 64 | /* Utilities for actions. */ |
| 65 | #if !defined(NO_ACTION_LAYER) && defined(PREVENT_STUCK_MODIFIERS) | 65 | #if !defined(NO_ACTION_LAYER) && !defined(STRICT_LAYER_RELEASE) |
| 66 | extern bool disable_action_cache; | 66 | extern bool disable_action_cache; |
| 67 | #endif | 67 | #endif |
| 68 | 68 | ||
| @@ -88,11 +88,13 @@ void process_record(keyrecord_t *record); | |||
| 88 | void process_action(keyrecord_t *record, action_t action); | 88 | void process_action(keyrecord_t *record, action_t action); |
| 89 | void register_code(uint8_t code); | 89 | void register_code(uint8_t code); |
| 90 | void unregister_code(uint8_t code); | 90 | void unregister_code(uint8_t code); |
| 91 | void tap_code(uint8_t code); | ||
| 91 | void register_mods(uint8_t mods); | 92 | void register_mods(uint8_t mods); |
| 92 | void unregister_mods(uint8_t mods); | 93 | void unregister_mods(uint8_t mods); |
| 93 | //void set_mods(uint8_t mods); | 94 | //void set_mods(uint8_t mods); |
| 94 | void clear_keyboard(void); | 95 | void clear_keyboard(void); |
| 95 | void clear_keyboard_but_mods(void); | 96 | void clear_keyboard_but_mods(void); |
| 97 | void clear_keyboard_but_mods_and_keys(void); | ||
| 96 | void layer_switch(uint8_t new_layer); | 98 | void layer_switch(uint8_t new_layer); |
| 97 | bool is_tap_key(keypos_t key); | 99 | bool is_tap_key(keypos_t key); |
| 98 | 100 | ||
