summaryrefslogtreecommitdiffstats
path: root/keyboards/lfkeyboards/lfk78/lfk78.c
diff options
context:
space:
mode:
authorscott-t-wilson <scott.t.wilson@gmail.com>2018-02-23 19:16:10 +0100
committerJack Humbert <jack.humb@gmail.com>2018-02-23 19:16:10 +0100
commit3f3d0551cd5f2ca0b72fc4b24d1d7955ffa8cb78 (patch)
tree0abed9c5a39693745060f75606f67771051f041c /keyboards/lfkeyboards/lfk78/lfk78.c
parentf7461748744c1e3a5bae3b7a54d5b0d8439606e6 (diff)
downloadqmk_firmware-3f3d0551cd5f2ca0b72fc4b24d1d7955ffa8cb78.tar.gz
qmk_firmware-3f3d0551cd5f2ca0b72fc4b24d1d7955ffa8cb78.tar.xz
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
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 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);
}