aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core/common/action.h
diff options
context:
space:
mode:
authorErez Zukerman <bulk@ezuk.org>2016-04-06 22:47:31 +0300
committerErez Zukerman <bulk@ezuk.org>2016-04-06 22:47:31 +0300
commit153a6fb0d3e9b54c4d6241c44ffdb9ce8a65de7f (patch)
treecd210829c02686007ff02784dad65accf0779cd9 /tmk_core/common/action.h
parent27ee47d0bd467e86e36feff8c66b3aea661f91b5 (diff)
parent567f256c5d4598adb4dcd63fa4e4a7b4df553b12 (diff)
downloadfirmware-153a6fb0d3e9b54c4d6241c44ffdb9ce8a65de7f.tar.gz
firmware-153a6fb0d3e9b54c4d6241c44ffdb9ce8a65de7f.tar.bz2
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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tmk_core/common/action.h b/tmk_core/common/action.h
index 9f528af4b..44ec3047b 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);