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

@ -22,9 +22,9 @@ bool encoder_update_kb(uint8_t index, bool clockwise) {
if (!encoder_update_user(index, clockwise)) { return false; }
if (index == 0) { /* First encoder */
if (clockwise) {
tap_code(KC__VOLUP);
tap_code(KC_VOLU);
} else {
tap_code(KC__VOLDOWN);
tap_code(KC_VOLD);
}
} else if (index == 1) { /* Second encoder */
if (clockwise) {