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 /keyboards/preonic/keymaps/mverteuil_2x2u | |
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 'keyboards/preonic/keymaps/mverteuil_2x2u')
-rw-r--r-- | keyboards/preonic/keymaps/mverteuil_2x2u/keymap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/preonic/keymaps/mverteuil_2x2u/keymap.c b/keyboards/preonic/keymaps/mverteuil_2x2u/keymap.c index 07c5aa7b8f..9ffb47776f 100644 --- a/keyboards/preonic/keymaps/mverteuil_2x2u/keymap.c +++ b/keyboards/preonic/keymaps/mverteuil_2x2u/keymap.c @@ -303,7 +303,7 @@ void td_brackets_left_finished(qk_tap_dance_state_t *state, void *user_data) { register_code16(KC_LEFT_PAREN); break; case DOUBLE_TAP: - register_code(KC_LBRACKET); + register_code(KC_LEFT_BRACKET); break; case TRIPLE_TAP: register_code16(KC_LEFT_CURLY_BRACE); @@ -319,7 +319,7 @@ void td_brackets_left_reset(qk_tap_dance_state_t *state, void *user_data) { unregister_code16(KC_LEFT_PAREN); break; case DOUBLE_TAP: - unregister_code(KC_LBRACKET); + unregister_code(KC_LEFT_BRACKET); break; case TRIPLE_TAP: unregister_code16(KC_LEFT_CURLY_BRACE); @@ -337,7 +337,7 @@ void td_brackets_right_finished(qk_tap_dance_state_t *state, void *user_data) { register_code16(KC_RIGHT_PAREN); break; case DOUBLE_TAP: - register_code(KC_RBRACKET); + register_code(KC_RIGHT_BRACKET); break; case TRIPLE_TAP: register_code16(KC_RIGHT_CURLY_BRACE); @@ -353,7 +353,7 @@ void td_brackets_right_reset(qk_tap_dance_state_t *state, void *user_data) { unregister_code16(KC_RIGHT_PAREN); break; case DOUBLE_TAP: - unregister_code(KC_RBRACKET); + unregister_code(KC_RIGHT_BRACKET); break; case TRIPLE_TAP: unregister_code16(KC_RIGHT_CURLY_BRACE); |