summaryrefslogtreecommitdiff
path: root/keyboards/pteron36
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-10-12 00:21:47 +1100
committerGitHub <noreply@github.com>2022-10-11 14:21:47 +0100
commite96d8297246f6858adf257a8892e719695f83c45 (patch)
treeedaf89969c42963dc44411d172566a9c3863ac2c /keyboards/pteron36
parent17ada0324355b3b60867bfb494ae469f8cef6e73 (diff)
Remove legacy keycodes, part 3 (#18669)
* `KC__VOLDOWN` -> `KC_VOLD` * `KC__VOLUP` -> `KC_VOLU` * `KC__MUTE` -> `KC_MUTE` * `KC_POWER` -> `KC_PWR`
Diffstat (limited to 'keyboards/pteron36')
-rw-r--r--keyboards/pteron36/pteron36.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/pteron36/pteron36.c b/keyboards/pteron36/pteron36.c
index 1281b5306e..4c14e6ebd5 100644
--- a/keyboards/pteron36/pteron36.c
+++ b/keyboards/pteron36/pteron36.c
@@ -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) {