summaryrefslogtreecommitdiff
path: root/keyboards/gray_studio/space65/space65.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/gray_studio/space65/space65.c')
-rw-r--r--keyboards/gray_studio/space65/space65.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/keyboards/gray_studio/space65/space65.c b/keyboards/gray_studio/space65/space65.c
index 26d80e00ec..f9f2224ab8 100644
--- a/keyboards/gray_studio/space65/space65.c
+++ b/keyboards/gray_studio/space65/space65.c
@@ -38,6 +38,11 @@ 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 (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
+ writePinHigh(E6);
+ } else {
+ writePinLow(E6);
+ }
led_set_user(usb_led);
}