summaryrefslogtreecommitdiff
path: root/keyboards/thevankeyboards
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/thevankeyboards
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/thevankeyboards')
-rw-r--r--keyboards/thevankeyboards/minivan/keymaps/mjt/keymap.c4
-rw-r--r--keyboards/thevankeyboards/roadkit/keymaps/flipphone/keymap.c4
-rw-r--r--keyboards/thevankeyboards/roadkit/keymaps/mjt/keymap.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/thevankeyboards/minivan/keymaps/mjt/keymap.c b/keyboards/thevankeyboards/minivan/keymaps/mjt/keymap.c
index 2414faf62d..c484ee7308 100644
--- a/keyboards/thevankeyboards/minivan/keymaps/mjt/keymap.c
+++ b/keyboards/thevankeyboards/minivan/keymaps/mjt/keymap.c
@@ -89,8 +89,8 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
if (record->event.pressed) {
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);
}
diff --git a/keyboards/thevankeyboards/roadkit/keymaps/flipphone/keymap.c b/keyboards/thevankeyboards/roadkit/keymaps/flipphone/keymap.c
index b652261fed..612ec7060a 100644
--- a/keyboards/thevankeyboards/roadkit/keymaps/flipphone/keymap.c
+++ b/keyboards/thevankeyboards/roadkit/keymaps/flipphone/keymap.c
@@ -199,8 +199,8 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
if (record->event.pressed) {
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);
}
diff --git a/keyboards/thevankeyboards/roadkit/keymaps/mjt/keymap.c b/keyboards/thevankeyboards/roadkit/keymaps/mjt/keymap.c
index f958dcd912..57b4a1c4b8 100644
--- a/keyboards/thevankeyboards/roadkit/keymaps/mjt/keymap.c
+++ b/keyboards/thevankeyboards/roadkit/keymaps/mjt/keymap.c
@@ -218,8 +218,8 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
if (record->event.pressed) {
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);
}