From dfa7a708fef77ac1570face29d7e8413f3e725ee Mon Sep 17 00:00:00 2001 From: Hannes Egler Date: Tue, 29 May 2018 05:18:39 +0200 Subject: Indicator led support for KBD8X (#3064) * Support for indicator LEDs * fixes for backlighting support * more fixes --- keyboards/kbd8x/kbd8x.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'keyboards/kbd8x') diff --git a/keyboards/kbd8x/kbd8x.c b/keyboards/kbd8x/kbd8x.c index 51e785241..af7ab7a07 100644 --- a/keyboards/kbd8x/kbd8x.c +++ b/keyboards/kbd8x/kbd8x.c @@ -39,5 +39,26 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) { void led_set_kb(uint8_t usb_led) { // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here + if(usb_led & (1<