X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=docs%2Fconfig_options.md;h=5e2de6d048610be2f2f3297c658be4023ad34706;hb=fc069869896c279f175d2d5acf1ef545278c7102;hp=f5c2e76e7e9236877e9e4c45ee212a32e6d17815;hpb=3542e573c8ee464f62fc5e9a0f618d3a244048c0;p=qmk_firmware.git diff --git a/docs/config_options.md b/docs/config_options.md index f5c2e76e7..5e2de6d04 100644 --- a/docs/config_options.md +++ b/docs/config_options.md @@ -87,7 +87,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() ( keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) )` +* `#define IS_COMMAND() (get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)))` * 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)