1
0
Fork 0

Remove legacy keycodes, part 3 (#18669)

* `KC__VOLDOWN` -> `KC_VOLD`

* `KC__VOLUP` -> `KC_VOLU`

* `KC__MUTE` -> `KC_MUTE`

* `KC_POWER` -> `KC_PWR`
This commit is contained in:
Ryan 2022-10-12 00:21:47 +11:00 committed by GitHub
parent 17ada03243
commit e96d829724
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
113 changed files with 190 additions and 201 deletions

View file

@ -104,11 +104,11 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record)
case MACSLEEP:
if (record->event.pressed)
{
// ACTION_MODS_KEY(MOD_LCTL | MOD_LSFT, KC_POWER);
// ACTION_MODS_KEY(MOD_LCTL | MOD_LSFT, KC_PWR);
register_code(KC_RSFT);
register_code(KC_RCTL);
register_code(KC_POWER);
unregister_code(KC_POWER);
register_code(KC_PWR);
unregister_code(KC_PWR);
unregister_code(KC_RCTL);
unregister_code(KC_RSFT);
}