Update IS_COMMAND definitions to use MOD_MASK_SHIFT (#6348)
* Update IS_COMMAND definition in templates to use MOD_MASK_SHIFT * Update IS_COMMAND in docs * Update IS_COMMAND default definition in tmk_core * Update table in Command docs based on suggestion Co-Authored-By: fauxpark <fauxpark@gmail.com>
This commit is contained in:
parent
a40dbf94e8
commit
a2e91ebec9
5 changed files with 37 additions and 37 deletions
|
@ -35,7 +35,7 @@ bool command_proc(uint8_t code);
|
|||
#endif
|
||||
|
||||
#ifndef IS_COMMAND
|
||||
#define IS_COMMAND() (get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)))
|
||||
#define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT)
|
||||
#endif
|
||||
|
||||
#ifndef MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue