diff options
Diffstat (limited to 'keyboards/handwired')
| -rw-r--r-- | keyboards/handwired/dactyl/config.h | 4 | ||||
| -rw-r--r-- | keyboards/handwired/frenchdev/config.h | 4 | ||||
| -rw-r--r-- | keyboards/handwired/promethium/config.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/handwired/dactyl/config.h b/keyboards/handwired/dactyl/config.h index 08931ecd3..8d42c0ae4 100644 --- a/keyboards/handwired/dactyl/config.h +++ b/keyboards/handwired/dactyl/config.h | |||
| @@ -53,8 +53,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 53 | 53 | ||
| 54 | /* key combination for command */ | 54 | /* key combination for command */ |
| 55 | #define IS_COMMAND() ( \ | 55 | #define IS_COMMAND() ( \ |
| 56 | keyboard_report->mods == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \ | 56 | get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \ |
| 57 | keyboard_report->mods == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \ | 57 | get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \ |
| 58 | ) | 58 | ) |
| 59 | 59 | ||
| 60 | /* fix space cadet rollover issue */ | 60 | /* fix space cadet rollover issue */ |
diff --git a/keyboards/handwired/frenchdev/config.h b/keyboards/handwired/frenchdev/config.h index dd386402c..b01eec7aa 100644 --- a/keyboards/handwired/frenchdev/config.h +++ b/keyboards/handwired/frenchdev/config.h | |||
| @@ -59,8 +59,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 59 | 59 | ||
| 60 | /* key combination for command */ | 60 | /* key combination for command */ |
| 61 | #define IS_COMMAND() ( \ | 61 | #define IS_COMMAND() ( \ |
| 62 | keyboard_report->mods == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \ | 62 | get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \ |
| 63 | keyboard_report->mods == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \ | 63 | get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \ |
| 64 | ) | 64 | ) |
| 65 | 65 | ||
| 66 | /* | 66 | /* |
diff --git a/keyboards/handwired/promethium/config.h b/keyboards/handwired/promethium/config.h index dca0aec2e..b5a0a7f4b 100644 --- a/keyboards/handwired/promethium/config.h +++ b/keyboards/handwired/promethium/config.h | |||
| @@ -95,7 +95,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 95 | 95 | ||
| 96 | /* key combination for command */ | 96 | /* key combination for command */ |
| 97 | #define IS_COMMAND() ( \ | 97 | #define IS_COMMAND() ( \ |
| 98 | keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT) | MOD_BIT(KC_LCTRL) | MOD_BIT(KC_RCTRL)) \ | 98 | get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT) | MOD_BIT(KC_LCTRL) | MOD_BIT(KC_RCTRL)) \ |
| 99 | ) | 99 | ) |
| 100 | 100 | ||
| 101 | /* control how magic key switches layers */ | 101 | /* control how magic key switches layers */ |
