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/handwired/unicomp_mini_m | |
parent | 92d7964b285cf852d702cc4dea7e21e838f118a2 (diff) |
Remove legacy keycodes, part 5 (#18710)
* `KC_SLCK` -> `KC_SCRL`
* `KC_NLCK` -> `KC_NUM`
Diffstat (limited to 'keyboards/handwired/unicomp_mini_m')
-rw-r--r-- | keyboards/handwired/unicomp_mini_m/keymaps/default/keymap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/handwired/unicomp_mini_m/keymaps/default/keymap.c b/keyboards/handwired/unicomp_mini_m/keymaps/default/keymap.c index f01f9788f3..c760b0b24d 100644 --- a/keyboards/handwired/unicomp_mini_m/keymaps/default/keymap.c +++ b/keyboards/handwired/unicomp_mini_m/keymaps/default/keymap.c @@ -55,12 +55,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { case NUMSLCK: { if (record->event.pressed) { if (keyboard_report->mods & MODS_SHIFT_MASK) { - tap_code(KC_NLCK); + tap_code(KC_NUM); } else { - register_code(KC_SLCK); + register_code(KC_SCRL); } } else { - unregister_code(KC_SLCK); + unregister_code(KC_SCRL); } break; } |