diff options
author | Ryan <fauxpark@gmail.com> | 2023-07-06 18:48:02 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-06 09:48:02 +0100 |
commit | 87b11345a55d076966846d87b60d0f315b8bb984 (patch) | |
tree | a64503358d5f30b55a722b882eebaf1b60b03e1f /layouts/community/ergodox/swedish-lindhe | |
parent | 928e03e8d669cb35a96c2aa4a09012c527b27892 (diff) |
Get rid of `USB_LED_CAPS_LOCK` (#21436)
Diffstat (limited to 'layouts/community/ergodox/swedish-lindhe')
-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 { |