diff options
Diffstat (limited to 'keyboards/gh60/revc/revc.c')
-rw-r--r-- | keyboards/gh60/revc/revc.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/keyboards/gh60/revc/revc.c b/keyboards/gh60/revc/revc.c index e06739d2b..47dd5410f 100644 --- a/keyboards/gh60/revc/revc.c +++ b/keyboards/gh60/revc/revc.c | |||
@@ -1,27 +1 @@ | |||
1 | #include "revc.h" | #include "revc.h" | |
2 | |||
3 | |||
4 | extern inline void gh60_caps_led_on(void); | ||
5 | extern inline void gh60_poker_leds_on(void); | ||
6 | extern inline void gh60_fn_led_on(void); | ||
7 | extern inline void gh60_esc_led_on(void); | ||
8 | extern inline void gh60_wasd_leds_on(void); | ||
9 | |||
10 | extern inline void gh60_caps_led_off(void); | ||
11 | extern inline void gh60_poker_leds_off(void); | ||
12 | extern inline void gh60_fn_led_off(void); | ||
13 | extern inline void gh60_esc_led_off(void); | ||
14 | extern inline void gh60_wasd_leds_off(void); | ||
15 | |||
16 | |||
17 | void led_set_kb(uint8_t usb_led) { | ||
18 | // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here | ||
19 | |||
20 | if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) { | ||
21 | gh60_caps_led_on(); | ||
22 | } else { | ||
23 | gh60_caps_led_off(); | ||
24 | } | ||
25 | |||
26 | led_set_user(usb_led); | ||
27 | } | ||