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:
@ -80,7 +80,7 @@ const uint32_t PROGMEM unicode_map[] = {
|
||||
bool process_record_macro(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
// AltGr + Caps should change the oled layout variable
|
||||
case KC_CAPSLOCK:
|
||||
case KC_CAPS_LOCK:
|
||||
if (record->event.pressed) {
|
||||
if (get_mods() & MOD_BIT(KC_RALT)) {
|
||||
userspace_config.layout = (userspace_config.layout + 1) % 3;
|
||||
|
Reference in New Issue
Block a user