summaryrefslogtreecommitdiff
path: root/keyboards/lazydesigners
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/lazydesigners')
-rw-r--r--keyboards/lazydesigners/dimple/staggered/keymaps/tominabox1/keymap.c5
-rw-r--r--keyboards/lazydesigners/the50/keymaps/default/keymap.c5
-rw-r--r--keyboards/lazydesigners/the50/keymaps/mikethetiger/keymap.c5
3 files changed, 9 insertions, 6 deletions
diff --git a/keyboards/lazydesigners/dimple/staggered/keymaps/tominabox1/keymap.c b/keyboards/lazydesigners/dimple/staggered/keymaps/tominabox1/keymap.c
index cdaade987f..d1917e4aa7 100644
--- a/keyboards/lazydesigners/dimple/staggered/keymaps/tominabox1/keymap.c
+++ b/keyboards/lazydesigners/dimple/staggered/keymaps/tominabox1/keymap.c
@@ -100,10 +100,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
),
};
-void led_set_user(uint8_t usb_led) {
-if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
+bool led_update_user(led_t led_state) {
+if (led_state.caps_lock) {
writePinLow(E6);
} else {
writePinHigh(E6);
}
+ return false;
}
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;
}