Remove legacy keycodes, part 4 (#18683)

* `KC_PGDOWN` -> `KC_PGDN`

* `KC_PSCREEN` -> `KC_PSCR`

* `KC_SCOLON` -> `KC_SCLN`

* `KC_BSLASH` -> `KC_BSLS`

* `KC_BSPACE` -> `KC_BSPC`
This commit is contained in:
Ryan
2022-10-14 04:28:14 +11:00
committed by GitHub
parent 474c0bc8a2
commit 5629ba1807
362 changed files with 688 additions and 694 deletions

View File

@@ -185,7 +185,7 @@ uint32_t processQwerty(bool lookup) {
P( SYM | RL, SEND_STRING("]"));
P( SYM | RT, SEND_STRING("?"));
P( SYM | ST3 | ST4, SEND(KC_BSLASH));
P( SYM | ST3 | ST4, SEND(KC_BACKSLASH));
P( SYM | RF | RR, SEND(KC_EQUAL));
P( SYM | RP | RB, SEND_STRING("\""));
P( SYM | RG | RL, SEND_STRING("+"));

View File

@@ -169,10 +169,10 @@ bool handle_US_ANSI_shifted_keys(int16_t keycode, bool in) {
regular_keycode = KC_RIGHT_BRACKET;
break;
case KC_PIPE:
regular_keycode = KC_BSLASH;
regular_keycode = KC_BACKSLASH;
break;
case KC_COLON:
regular_keycode = KC_SCOLON;
regular_keycode = KC_SEMICOLON;
break;
case KC_DOUBLE_QUOTE:
regular_keycode = KC_QUOTE;
@@ -593,7 +593,7 @@ const struct Chord chord_11 PROGMEM = {H_TOP10, QWERTY, &state_11, NULL, KC_O, 0
uint8_t state_12 = IDLE;
const struct Chord chord_12 PROGMEM = {H_TOP11, QWERTY, &state_12, NULL, KC_P, 0, single_dance};
uint8_t state_13 = IDLE;
const struct Chord chord_13 PROGMEM = {H_TOP12, QWERTY, &state_13, NULL, KC_BSLASH, 0, single_dance};
const struct Chord chord_13 PROGMEM = {H_TOP12, QWERTY, &state_13, NULL, KC_BACKSLASH, 0, single_dance};
uint8_t state_14 = IDLE;
const struct Chord chord_14 PROGMEM = {H_TOP1 + H_BOT1, QWERTY, &state_14, NULL, KC_INS, 0, single_dance};
uint8_t state_15 = IDLE;
@@ -619,7 +619,7 @@ uint8_t state_23 = IDLE;
uint8_t counter_23 = 0;
const struct Chord chord_23 PROGMEM = {H_TOP10 + H_BOT10, QWERTY, &state_23, &counter_23, KC_L, KC_RALT, key_key_dance};
uint8_t state_24 = IDLE;
const struct Chord chord_24 PROGMEM = {H_TOP11 + H_BOT11, QWERTY, &state_24, NULL, KC_SCOLON, 0, single_dance};
const struct Chord chord_24 PROGMEM = {H_TOP11 + H_BOT11, QWERTY, &state_24, NULL, KC_SEMICOLON, 0, single_dance};
uint8_t state_25 = IDLE;
const struct Chord chord_25 PROGMEM = {H_BOT1, QWERTY, &state_25, NULL, KC_TAB, 0, single_dance};
uint8_t state_26 = IDLE;