Remove legacy keycodes, part 6 (#18740)
* `KC_RSHIFT` -> `KC_RSFT` * `KC_RCTRL` -> `KC_RCTL` * `KC_LSHIFT` -> `KC_LSFT` * `KC_LCTRL` -> `KC_LCTL`
This commit is contained in:
@@ -144,7 +144,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
case CK_ESCG:
|
||||
/* if pressed, inject key, otherwise delete it */
|
||||
if (record->event.pressed) {
|
||||
bool shifted = get_mods() & MOD_BIT(KC_LSHIFT);
|
||||
bool shifted = get_mods() & MOD_BIT(KC_LSFT);
|
||||
add_key(shifted ? KC_ESC : KC_GRV);
|
||||
ck_escg_last_shifted = shifted;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user