diff options
author | Erez Zukerman <bulk@ezuk.org> | 2016-04-06 22:47:31 +0300 |
---|---|---|
committer | Erez Zukerman <bulk@ezuk.org> | 2016-04-06 22:47:31 +0300 |
commit | 153a6fb0d3e9b54c4d6241c44ffdb9ce8a65de7f (patch) | |
tree | cd210829c02686007ff02784dad65accf0779cd9 /tmk_core/common/action.h | |
parent | 27ee47d0bd467e86e36feff8c66b3aea661f91b5 (diff) | |
parent | 567f256c5d4598adb4dcd63fa4e4a7b4df553b12 (diff) | |
download | qmk_firmware-153a6fb0d3e9b54c4d6241c44ffdb9ce8a65de7f.tar.gz qmk_firmware-153a6fb0d3e9b54c4d6241c44ffdb9ce8a65de7f.zip |
Merge pull request #182 from Vifon/modifier-release-fix
Fix the layer-dependent modifiers handling
Diffstat (limited to 'tmk_core/common/action.h')
-rw-r--r-- | tmk_core/common/action.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tmk_core/common/action.h b/tmk_core/common/action.h index 9f528af4b9..44ec3047ba 100644 --- a/tmk_core/common/action.h +++ b/tmk_core/common/action.h @@ -62,6 +62,10 @@ void action_function(keyrecord_t *record, uint8_t id, uint8_t opt); void process_action_kb(keyrecord_t *record); /* Utilities for actions. */ +#if !defined(NO_ACTION_LAYER) && defined(PREVENT_STUCK_MODIFIERS) +extern bool disable_action_cache; +#endif +void process_action_nocache(keyrecord_t *record); void process_action(keyrecord_t *record); void register_code(uint8_t code); void unregister_code(uint8_t code); |