]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - docs/config_options.md
Update IS_COMMAND definitions to use MOD_MASK_SHIFT (#6348)
[qmk_firmware.git] / docs / config_options.md
index 3012dcdcff53d30b231d69e71dc14ad95fc8e055..01c0e3ee8ca3e81554d3a0fc60e6f8f7d4a31100 100644 (file)
@@ -89,7 +89,7 @@ This is a C header file that is one of the first things included, and will persi
   * mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap
 * `#define LOCKING_RESYNC_ENABLE`
   * tries to keep switch state consistent with keyboard LED state
-* `#define IS_COMMAND() (get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)))`
+* `#define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT)`
   * key combination that allows the use of magic commands (useful for debugging)
 * `#define USB_MAX_POWER_CONSUMPTION`
   * sets the maximum power (in mA) over USB for the device (default: 500)