summaryrefslogtreecommitdiff
path: root/keyboards/lazydesigners/the50/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/lazydesigners/the50/keymaps')
-rw-r--r--keyboards/lazydesigners/the50/keymaps/default/keymap.c5
-rw-r--r--keyboards/lazydesigners/the50/keymaps/mikethetiger/keymap.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/keyboards/lazydesigners/the50/keymaps/default/keymap.c b/keyboards/lazydesigners/the50/keymaps/default/keymap.c
index 5d8ea732f6..61e6ee878c 100644
--- a/keyboards/lazydesigners/the50/keymaps/default/keymap.c
+++ b/keyboards/lazydesigners/the50/keymaps/default/keymap.c
@@ -49,11 +49,12 @@ EE_CLR, _______, _______, _______, _______,
)
};
-void led_set_user(uint8_t usb_led) {
+bool led_update_user(led_t led_state) {
// Turn LED On/Off for Caps Lock
- if (host_keyboard_leds() & (1 << USB_LED_CAPS_LOCK)) {
+ if (led_state.caps_lock) {
the50_led_on();
} else {
the50_led_off();
}
+ return false;
}
diff --git a/keyboards/lazydesigners/the50/keymaps/mikethetiger/keymap.c b/keyboards/lazydesigners/the50/keymaps/mikethetiger/keymap.c
index 8986fd6c3d..c384c3c520 100644
--- a/keyboards/lazydesigners/the50/keymaps/mikethetiger/keymap.c
+++ b/keyboards/lazydesigners/the50/keymaps/mikethetiger/keymap.c
@@ -69,11 +69,12 @@ EE_CLR, _______, _______, _______, _______,
)
};
-void led_set_user(uint8_t usb_led) {
+bool led_update_user(led_t led_state) {
// Turn LED On/Off for Caps Lock
- if (host_keyboard_leds() & (1 << USB_LED_CAPS_LOCK)) {
+ if (led_state.caps_lock) {
the50_led_on();
} else {
the50_led_off();
}
+ return false;
}