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
|
@ -70,7 +70,7 @@ static void comma_period(uint16_t keycode) {
|
|||
case VIM_COMMA:
|
||||
if (SHIFTED) {
|
||||
// indent
|
||||
tap_code16(LGUI(KC_LBRACKET));
|
||||
tap_code16(LGUI(KC_LEFT_BRACKET));
|
||||
} else {
|
||||
// toggle comment
|
||||
tap_code16(LGUI(KC_SLASH));
|
||||
|
@ -79,7 +79,7 @@ static void comma_period(uint16_t keycode) {
|
|||
case VIM_PERIOD:
|
||||
if (SHIFTED) {
|
||||
// outdent
|
||||
tap_code16(LGUI(KC_RBRACKET));
|
||||
tap_code16(LGUI(KC_RIGHT_BRACKET));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue