diff options
author | Ryan <fauxpark@gmail.com> | 2022-10-16 08:29:43 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-15 22:29:43 +0100 |
commit | 5e4b076af3c99d36632d6b92f3ddd046f38a01af (patch) | |
tree | ed704dea66f5a16e364efc39a48abeb63c8226ba /keyboards/ergodox_ez/keymaps/hacker_dvorak/user | |
parent | 92d7964b285cf852d702cc4dea7e21e838f118a2 (diff) |
Remove legacy keycodes, part 5 (#18710)
* `KC_SLCK` -> `KC_SCRL`
* `KC_NLCK` -> `KC_NUM`
Diffstat (limited to 'keyboards/ergodox_ez/keymaps/hacker_dvorak/user')
-rw-r--r-- | keyboards/ergodox_ez/keymaps/hacker_dvorak/user/process_record_user.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/user/process_record_user.c b/keyboards/ergodox_ez/keymaps/hacker_dvorak/user/process_record_user.c index adff967ba6..0244ac0959 100644 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/user/process_record_user.c +++ b/keyboards/ergodox_ez/keymaps/hacker_dvorak/user/process_record_user.c @@ -22,7 +22,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { return true; - case KC_NLCK: + case KC_NUM_LOCK: if (record->event.pressed) { if (!(NUM_LOCK)) { ergodox_right_led_2_on(); @@ -35,7 +35,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { return true; - case KC_SLCK: + case KC_SCROLL_LOCK: if (record->event.pressed) { if (!(SCROLL_LOCK)) { ergodox_right_led_3_on(); |