summaryrefslogtreecommitdiff
path: root/keyboards/v4n4g0rth0n/v2
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/v4n4g0rth0n/v2
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/v4n4g0rth0n/v2')
-rw-r--r--keyboards/v4n4g0rth0n/v2/keymaps/default/keymap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/v4n4g0rth0n/v2/keymaps/default/keymap.c b/keyboards/v4n4g0rth0n/v2/keymaps/default/keymap.c
index 93aa46b7b0..7ead586ac3 100644
--- a/keyboards/v4n4g0rth0n/v2/keymaps/default/keymap.c
+++ b/keyboards/v4n4g0rth0n/v2/keymaps/default/keymap.c
@@ -43,10 +43,10 @@ void matrix_scan_user(void){
// Reset moving to 0 so that we don't get multiple attempts to do this
int num_ticks = ((float)pot_val/max_pot_val)*max_ticks;
for (int i = 0; i<max_ticks;++i){
- tap_code(KC__VOLDOWN);
+ tap_code(KC_VOLD);
}
for (int i = 0; i<num_ticks;++i){
- tap_code(KC__VOLUP);
+ tap_code(KC_VOLU);
}
moving = false;
}