summaryrefslogtreecommitdiff
path: root/keyboards/lfkeyboards/lfk78/lfk78.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/lfkeyboards/lfk78/lfk78.c')
-rw-r--r--keyboards/lfkeyboards/lfk78/lfk78.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/keyboards/lfkeyboards/lfk78/lfk78.c b/keyboards/lfkeyboards/lfk78/lfk78.c
index e4393327f3..753cf70756 100644
--- a/keyboards/lfkeyboards/lfk78/lfk78.c
+++ b/keyboards/lfkeyboards/lfk78/lfk78.c
@@ -200,7 +200,15 @@ void reset_keyboard_kb(){
void led_set_kb(uint8_t usb_led)
{
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
-
+#ifdef ISSI_ENABLE
+#ifdef CAPSLOCK_LED
+ if (usb_led & (1 << USB_LED_CAPS_LOCK)) {
+ activateLED(0, 3, 7, 255);
+ }else{
+ activateLED(0, 3, 7, 0);
+ }
+#endif // CAPSLOCK_LED
+#endif // ISS_ENABLE
led_set_user(usb_led);
}