diff options
Diffstat (limited to 'tmk_core/common')
-rw-r--r-- | tmk_core/common/command.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tmk_core/common/command.h b/tmk_core/common/command.h index c38f2b9e8..e25b97463 100644 --- a/tmk_core/common/command.h +++ b/tmk_core/common/command.h | |||
@@ -34,6 +34,9 @@ bool command_proc(uint8_t code); | |||
34 | #define command_proc(code) false | 34 | #define command_proc(code) false |
35 | #endif | 35 | #endif |
36 | 36 | ||
37 | #ifndef IS_COMMAND | ||
38 | #define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT))) | ||
39 | #endif | ||
37 | 40 | ||
38 | #ifndef MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS | 41 | #ifndef MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS |
39 | #define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true | 42 | #define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true |