summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/woodpad
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-10-16 08:29:43 +1100
committerGitHub <noreply@github.com>2022-10-15 22:29:43 +0100
commit5e4b076af3c99d36632d6b92f3ddd046f38a01af (patch)
treeed704dea66f5a16e364efc39a48abeb63c8226ba /keyboards/handwired/woodpad
parent92d7964b285cf852d702cc4dea7e21e838f118a2 (diff)
Remove legacy keycodes, part 5 (#18710)
* `KC_SLCK` -> `KC_SCRL` * `KC_NLCK` -> `KC_NUM`
Diffstat (limited to 'keyboards/handwired/woodpad')
-rw-r--r--keyboards/handwired/woodpad/keymaps/default/keymap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/handwired/woodpad/keymaps/default/keymap.c b/keyboards/handwired/woodpad/keymaps/default/keymap.c
index d57efd8c11..5d230c7309 100644
--- a/keyboards/handwired/woodpad/keymaps/default/keymap.c
+++ b/keyboards/handwired/woodpad/keymaps/default/keymap.c
@@ -25,7 +25,7 @@ enum layer_names {
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_NUMLOCK] = LAYOUT_ortho_5x4( /* Base */
- KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
+ KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
KC_P7, KC_P8, KC_P9, KC_PPLS,
KC_P4, KC_P5, KC_P6, KC_PEQL,
KC_P1, KC_P2, KC_P3, KC_COMM,
@@ -58,7 +58,7 @@ static bool numlock_down = false;
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
- case KC_NLCK:
+ case KC_NUM:
if (record->event.pressed) {
numlock_down = true;
if (IS_LAYER_ON(_ALT)) {