summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/woodpad
diff options
context:
space:
mode:
authordrashna <drashna@live.com>2017-10-10 10:11:05 -0700
committerJack Humbert <jack.humb@gmail.com>2017-10-10 07:11:05 -1000
commite0e80c0dc1be961999617a9eb0e1ae0f7988fae9 (patch)
tree021baf7d1950e4ccbc2d29cbb82d1e399645b2e5 /keyboards/handwired/woodpad
parent34084b4ee63458789a3b84a956024291e404275b (diff)
Cleanup of my keymaps (#1802)
* Add woodpad * Cleanup * Remove misc layouts for woodpad * Move woodpad to handwired * Updated RGB Underglow info * Cleanup macros * Fix odd merge issue * Tweaked RGB lighting stuff * Start to merge orthodox/ergodox keymaps (persistant layers) * Add forced NKRO * Added Colemak and Dvorak layers to default orthodox keymap * Added default layer (qwerty/colemak/dvorak) detection to RGB Underglow
Diffstat (limited to 'keyboards/handwired/woodpad')
-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 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) {