diff options
Diffstat (limited to 'layouts/community/ergodox/swedish-lindhe/keymap.c')
-rw-r--r-- | layouts/community/ergodox/swedish-lindhe/keymap.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/layouts/community/ergodox/swedish-lindhe/keymap.c b/layouts/community/ergodox/swedish-lindhe/keymap.c index 1644512de7..376574f690 100644 --- a/layouts/community/ergodox/swedish-lindhe/keymap.c +++ b/layouts/community/ergodox/swedish-lindhe/keymap.c @@ -154,11 +154,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ), }; -// Runs just one time when the keyboard initializes. -void matrix_init_user(void) { - -}; - // Runs constantly in the background, in a loop. void matrix_scan_user(void) { @@ -185,7 +180,7 @@ void matrix_scan_user(void) { break; } - if (host_keyboard_leds() & (1<<USB_LED_CAPS_LOCK)) { + if (host_keyboard_led_state().caps_lock) { // if capslk is on, set led 1 on ergodox_right_led_1_on(); } else { |