aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/handwired
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired')
-rw-r--r--keyboards/handwired/woodpad/keymaps/drashna/keymap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboards/handwired/woodpad/keymaps/drashna/keymap.c b/keyboards/handwired/woodpad/keymaps/drashna/keymap.c
index a33a7ab46..f30f3623d 100644
--- a/keyboards/handwired/woodpad/keymaps/drashna/keymap.c
+++ b/keyboards/handwired/woodpad/keymaps/drashna/keymap.c
@@ -369,6 +369,10 @@ void matrix_init_user(void) {
// set Numlock LED to output and low
DDRF |= (1<<7);
PORTF &= ~(1<<7);
+ if (!(host_keyboard_leds() & (1 << USB_LED_NUM_LOCK)) ){
+ register_code(KC_NUMLOCK);
+ unregister_code(KC_NUMLOCK);
+ }
}
void matrix_scan_user(void) {