diff options
author | Ryan <fauxpark@gmail.com> | 2022-10-11 06:06:26 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-10 20:06:26 +0100 |
commit | c6f1b594a2085e67219bd5f0f7ba7898429d331c (patch) | |
tree | 615d8b6253c8c07beda12676f8cdbdcf2fa837a9 /layouts/community/ergodox/dvorak_spanish | |
parent | c87bc929086d41daf804c10d02ec7ee1fca61a4a (diff) |
Remove legacy keycodes, part 2 (#18660)
* `KC_SYSREQ` -> `KC_SYRQ`
And one `KC_ALT_ERASE` -> `KC_ERAS`
* `KC_NONUS_BSLASH` -> `KC_NUBS`
* `KC_NUMLOCK` -> `KC_NUM`
* `KC_CLCK` -> `KC_CAPS`
* `KC_SCROLLLOCK` -> `KC_SCRL`
* `KC_LBRACKET` -> `KC_LBRC`
* `KC_RBRACKET` -> `KC_RBRC`
* `KC_CAPSLOCK` -> `KC_CAPS`
Diffstat (limited to 'layouts/community/ergodox/dvorak_spanish')
-rw-r--r-- | layouts/community/ergodox/dvorak_spanish/keymap.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/layouts/community/ergodox/dvorak_spanish/keymap.c b/layouts/community/ergodox/dvorak_spanish/keymap.c index 805abb0b77..7bac2dd167 100644 --- a/layouts/community/ergodox/dvorak_spanish/keymap.c +++ b/layouts/community/ergodox/dvorak_spanish/keymap.c @@ -62,7 +62,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { */ [BASE] = LAYOUT_ergodox( // left hand - KC_GRAVE, KC_1, KC_2, KC_3, KC_4, KC_5, KC_NONUS_BSLASH, + KC_GRAVE, KC_1, KC_2, KC_3, KC_4, KC_5, KC_NUBS, LT(AUX, KC_F1), KC_DOT, KC_COMM,KC_SCLN,KC_P, KC_Y, MEH_T(KC_DEL), CTL_T(KC_ESC), KC_A, KC_O, KC_E, KC_U, KC_I, M(OBRACE), KC_SLSH,KC_Q, KC_J, KC_K, KC_X, KC_LGUI, @@ -72,7 +72,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_ENT,KC_TAB,MT((MOD_LALT | MOD_LSFT), KC_F3), // right hand KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINUS, - TT(AUX), KC_F, KC_G, KC_C, KC_H, KC_L, ALL_T(KC_RBRACKET), + TT(AUX), KC_F, KC_G, KC_C, KC_H, KC_L, ALL_T(KC_RBRC), KC_D, KC_R, KC_T, KC_N, KC_S, CTL_T(KC_QUOTE), KC_RALT, KC_B, KC_M, KC_W, KC_V, KC_Z, M(CBRACE), KC_LEFT,KC_DOWN,KC_UP, KC_RGHT,M(CBRACK), @@ -104,7 +104,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [AUX] = LAYOUT_ergodox( // left hand KC_NO , KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_SLEP, - KC_TRNS, KC_NONUS_BSLASH, LSFT(KC_NONUS_BSLASH), KC_MS_U, KC_NO, KC_NO, KC_NO, + KC_TRNS, KC_NUBS, LSFT(KC_NUBS), KC_MS_U, KC_NO, KC_NO, KC_NO, KC_NO , KC_NO, KC_MS_L, KC_MS_D, KC_MS_R, KC_NO , M(CAPS), KC_NO, KC_NO , KC_NO , KC_NO , KC_NO , KC_NO, LCTL(KC_S), LCTL(KC_Z), LCTL(KC_X), LCTL(KC_C), LCTL(KC_V), @@ -113,7 +113,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_BTN1, KC_BTN2, TG(QWERTY), // right hand KC_PWR, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, - KC_TRNS, KC_NO, KC_7, KC_8, KC_9, KC_PAST, KC_LBRACKET, + KC_TRNS, KC_NO, KC_7, KC_8, KC_9, KC_PAST, KC_LBRC, KC_NO, KC_4, KC_5, KC_6, KC_PPLS, KC_BSLASH, KC_PSCR, KC_NO, KC_1, KC_2, KC_3, KC_PSLS, KC_NO, KC_NO ,KC_DOT, KC_0, KC_PEQL, KC_NO, @@ -148,7 +148,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { */ [QWERTY] = LAYOUT_ergodox( // left hand - KC_GRAVE, KC_1, KC_2, KC_3, KC_4, KC_5, KC_NONUS_BSLASH, + KC_GRAVE, KC_1, KC_2, KC_3, KC_4, KC_5, KC_NUBS, KC_TRNS, KC_Q, KC_W, KC_E, KC_R, KC_T, MEH_T(KC_DEL), CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, M(OBRACE), KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LGUI, @@ -158,7 +158,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_ENT,KC_TAB,KC_TRNS, // right hand KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINUS, - KC_TRNS, KC_Y, KC_U, KC_I, KC_O, KC_P, ALL_T(KC_RBRACKET), + KC_TRNS, KC_Y, KC_U, KC_I, KC_O, KC_P, ALL_T(KC_RBRC), KC_H, KC_J, KC_K, KC_L, KC_SCLN,CTL_T(KC_QUOTE), KC_RALT, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH,M(CBRACE), KC_LEFT,KC_DOWN,KC_UP, KC_RGHT,M(CBRACK), @@ -211,8 +211,8 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) unregister_code(KC_LALT); if (timer_elapsed(key_timer) < KEY_TAP_SLOW) { register_code(KC_RALT); - register_code(KC_LBRACKET); - unregister_code(KC_LBRACKET); + register_code(KC_LEFT_BRACKET); + unregister_code(KC_LEFT_BRACKET); unregister_code(KC_RALT); } } @@ -226,8 +226,8 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) unregister_code(KC_LALT); if (timer_elapsed(key_timer) < KEY_TAP_SLOW) { register_code(KC_RALT); - register_code(KC_RBRACKET); - unregister_code(KC_RBRACKET); + register_code(KC_RIGHT_BRACKET); + unregister_code(KC_RIGHT_BRACKET); unregister_code(KC_RALT); } } @@ -235,9 +235,9 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) } case CAPS: { if (record->event.pressed) { - register_code(KC_CAPSLOCK); + register_code(KC_CAPS_LOCK); } else { - unregister_code(KC_CAPSLOCK); + unregister_code(KC_CAPS_LOCK); } break; } |