diff options
author | Ryan <fauxpark@gmail.com> | 2022-10-12 00:21:47 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-11 14:21:47 +0100 |
commit | e96d8297246f6858adf257a8892e719695f83c45 (patch) | |
tree | edaf89969c42963dc44411d172566a9c3863ac2c /keyboards/planck/keymaps/mjtnumsym | |
parent | 17ada0324355b3b60867bfb494ae469f8cef6e73 (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/planck/keymaps/mjtnumsym')
-rw-r--r-- | keyboards/planck/keymaps/mjtnumsym/keymap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/planck/keymaps/mjtnumsym/keymap.c b/keyboards/planck/keymaps/mjtnumsym/keymap.c index 2068eebd83..86368c6dab 100644 --- a/keyboards/planck/keymaps/mjtnumsym/keymap.c +++ b/keyboards/planck/keymaps/mjtnumsym/keymap.c @@ -225,11 +225,11 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { break; case MACSLEEP: if (record->event.pressed) { - // ACTION_MODS_KEY(MOD_LCTL | MOD_LSFT, KC_POWER); + // ACTION_MODS_KEY(MOD_LCTL | MOD_LSFT, KC_PWR); 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); } |