diff options
| author | Konstantin Đorđević <vomindoraan@gmail.com> | 2019-07-20 22:21:40 +0200 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-07-20 13:21:40 -0700 |
| commit | a2e91ebec910d31a9f32cc56924ef3d6f0291e72 (patch) | |
| tree | a2727aa99c89025aea5b4fd67fec7aa4b6ae8fea /docs/config_options.md | |
| parent | a40dbf94e81e44b1e1ecc9f37c48258dde5ced27 (diff) | |
| download | qmk_firmware-a2e91ebec910d31a9f32cc56924ef3d6f0291e72.tar.gz qmk_firmware-a2e91ebec910d31a9f32cc56924ef3d6f0291e72.zip | |
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>
Diffstat (limited to 'docs/config_options.md')
| -rw-r--r-- | docs/config_options.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/config_options.md b/docs/config_options.md index 3012dcdcf..01c0e3ee8 100644 --- a/docs/config_options.md +++ b/docs/config_options.md | |||
| @@ -89,7 +89,7 @@ This is a C header file that is one of the first things included, and will persi | |||
| 89 | * mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap | 89 | * mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap |
| 90 | * `#define LOCKING_RESYNC_ENABLE` | 90 | * `#define LOCKING_RESYNC_ENABLE` |
| 91 | * tries to keep switch state consistent with keyboard LED state | 91 | * tries to keep switch state consistent with keyboard LED state |
| 92 | * `#define IS_COMMAND() (get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)))` | 92 | * `#define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT)` |
| 93 | * key combination that allows the use of magic commands (useful for debugging) | 93 | * key combination that allows the use of magic commands (useful for debugging) |
| 94 | * `#define USB_MAX_POWER_CONSUMPTION` | 94 | * `#define USB_MAX_POWER_CONSUMPTION` |
| 95 | * sets the maximum power (in mA) over USB for the device (default: 500) | 95 | * sets the maximum power (in mA) over USB for the device (default: 500) |
