diff options
Diffstat (limited to 'keyboards/omkbd/ergodash/rev1/keymaps/m47ch4n')
-rw-r--r-- | keyboards/omkbd/ergodash/rev1/keymaps/m47ch4n/keymap.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/omkbd/ergodash/rev1/keymaps/m47ch4n/keymap.c b/keyboards/omkbd/ergodash/rev1/keymaps/m47ch4n/keymap.c index c5f4172f3a..d164f15946 100644 --- a/keyboards/omkbd/ergodash/rev1/keymaps/m47ch4n/keymap.c +++ b/keyboards/omkbd/ergodash/rev1/keymaps/m47ch4n/keymap.c @@ -115,13 +115,13 @@ void persistent_default_layer_set(uint16_t default_layer) { default_layer_set(default_layer); } -#define SEND_STRING_RESTORE(STR) (SHIFT_PRESSED ? SEND_STRING(STR SS_DOWN(X_LSHIFT)) : SEND_STRING(STR SS_UP(X_LSHIFT))) +#define SEND_STRING_RESTORE(STR) (SHIFT_PRESSED ? SEND_STRING(STR SS_DOWN(X_LSFT)) : SEND_STRING(STR SS_UP(X_LSFT))) #define KEY(CODE) (record->event.pressed ? SEND_STRING(SS_DOWN(X_##CODE)) : SEND_STRING_RESTORE(SS_UP(X_##CODE))) -#define KEY_SHIFT(CODE) (record->event.pressed ? SEND_STRING(SS_DOWN(X_LSHIFT) SS_DOWN(X_##CODE)) : SEND_STRING_RESTORE(SS_UP(X_##CODE))) +#define KEY_SHIFT(CODE) (record->event.pressed ? SEND_STRING(SS_DOWN(X_LSFT) SS_DOWN(X_##CODE)) : SEND_STRING_RESTORE(SS_UP(X_##CODE))) -#define KEY_UPSHIFT(CODE) (record->event.pressed ? SEND_STRING(SS_UP(X_LSHIFT) SS_DOWN(X_##CODE)) : SEND_STRING_RESTORE(SS_UP(X_##CODE))) +#define KEY_UPSHIFT(CODE) (record->event.pressed ? SEND_STRING(SS_UP(X_LSFT) SS_DOWN(X_##CODE)) : SEND_STRING_RESTORE(SS_UP(X_##CODE))) #define SHIFT_DU(CODE_DOWN, CODE_UP) (SHIFT_PRESSED ? CODE_DOWN : CODE_UP) #define CASE_US(CODE, US, JP) \ @@ -180,10 +180,10 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { break; case SHIFT: if (record->event.pressed) { - SEND_STRING(SS_DOWN(X_LSHIFT)); + SEND_STRING(SS_DOWN(X_LSFT)); SHIFT_PRESSED = true; } else { - SEND_STRING(SS_UP(X_LSHIFT)); + SEND_STRING(SS_UP(X_LSFT)); SHIFT_PRESSED = false; } return false; |