From 3f3d0551cd5f2ca0b72fc4b24d1d7955ffa8cb78 Mon Sep 17 00:00:00 2001 From: scott-t-wilson Date: Fri, 23 Feb 2018 13:16:10 -0500 Subject: Lfkeyboards updates (#2421) * Update smk65 fn layer, add iso * Added Fn layer to ISO keymap * Fix error when backlight is disabled but lighting isn't * Remove broke mini1800 iso map * Add keymaps * Add LFKPad * Add split delete to lfk78 * Typo * Custom keymap --- keyboards/lfkeyboards/lfk78/lfk78.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'keyboards/lfkeyboards/lfk78/lfk78.c') diff --git a/keyboards/lfkeyboards/lfk78/lfk78.c b/keyboards/lfkeyboards/lfk78/lfk78.c index e4393327f..753cf7075 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); } -- cgit v1.2.3