diff options
Diffstat (limited to 'keyboards/handwired/woodpad/keymaps')
-rw-r--r-- | keyboards/handwired/woodpad/keymaps/drashna/keymap.c | 4 |
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 a33a7ab464..f30f3623d8 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) { |