aboutsummaryrefslogtreecommitdiff
path: root/keyboards/gh60/revc/revc.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/gh60/revc/revc.c')
-rw-r--r--keyboards/gh60/revc/revc.c26
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
4extern inline void gh60_caps_led_on(void);
5extern inline void gh60_poker_leds_on(void);
6extern inline void gh60_fn_led_on(void);
7extern inline void gh60_esc_led_on(void);
8extern inline void gh60_wasd_leds_on(void);
9
10extern inline void gh60_caps_led_off(void);
11extern inline void gh60_poker_leds_off(void);
12extern inline void gh60_fn_led_off(void);
13extern inline void gh60_esc_led_off(void);
14extern inline void gh60_wasd_leds_off(void);
15
16
17void 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}