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:
parent
17ada03243
commit
e96d829724
113 changed files with 190 additions and 201 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue