forked from mirrors/qmk_userspace
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`
This commit is contained in:
parent
c87bc92908
commit
c6f1b594a2
267 changed files with 529 additions and 538 deletions
|
@ -6,7 +6,7 @@ void left(qk_tap_dance_state_t* state, void* user_data) {
|
|||
switch (state->count) {
|
||||
case 1:
|
||||
if (state->pressed)
|
||||
tap_code16(S(KC_LBRACKET));
|
||||
tap_code16(S(KC_LEFT_BRACKET));
|
||||
else
|
||||
tap_code16(S(KC_9));
|
||||
break;
|
||||
|
@ -14,7 +14,7 @@ void left(qk_tap_dance_state_t* state, void* user_data) {
|
|||
if (state->pressed)
|
||||
tap_code16(S(KC_COMM));
|
||||
else
|
||||
tap_code(KC_LBRACKET);
|
||||
tap_code(KC_LEFT_BRACKET);
|
||||
break;
|
||||
default:
|
||||
reset_tap_dance(state);
|
||||
|
@ -25,7 +25,7 @@ void right(qk_tap_dance_state_t* state, void* user_data) {
|
|||
switch (state->count) {
|
||||
case 1:
|
||||
if (state->pressed)
|
||||
tap_code16(S(KC_RBRACKET));
|
||||
tap_code16(S(KC_RIGHT_BRACKET));
|
||||
else
|
||||
tap_code16(S(KC_0));
|
||||
break;
|
||||
|
@ -33,7 +33,7 @@ void right(qk_tap_dance_state_t* state, void* user_data) {
|
|||
if (state->pressed)
|
||||
tap_code16(S(KC_DOT));
|
||||
else
|
||||
tap_code(KC_RBRACKET);
|
||||
tap_code(KC_RIGHT_BRACKET);
|
||||
break;
|
||||
default:
|
||||
reset_tap_dance(state);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue