summaryrefslogtreecommitdiff
path: root/keyboards/keebio/bfo9000/keymaps/abstractkb
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keebio/bfo9000/keymaps/abstractkb')
-rw-r--r--keyboards/keebio/bfo9000/keymaps/abstractkb/keymap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/keebio/bfo9000/keymaps/abstractkb/keymap.c b/keyboards/keebio/bfo9000/keymaps/abstractkb/keymap.c
index 4af086df3a..637a7e0440 100644
--- a/keyboards/keebio/bfo9000/keymaps/abstractkb/keymap.c
+++ b/keyboards/keebio/bfo9000/keymaps/abstractkb/keymap.c
@@ -56,12 +56,13 @@ layer_state_t layer_state_set_user(layer_state_t state) {
return state;
}
-void led_set_user(uint8_t usb_led) {
- if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
+bool led_update_user(led_t led_state) {
+ if (led_state.caps_lock) {
rgblight_mode_noeeprom(RGBLIGHT_MODE_ALTERNATING);
} else {
layer_state_set_user(layer_state);
}
+ return false;
}
void myrgb_toggle(void) {