diff options
author | IBNobody <ibnobody@gmail.com> | 2016-09-06 14:57:12 -0500 |
---|---|---|
committer | IBNobody <ibnobody@gmail.com> | 2016-09-06 14:57:12 -0500 |
commit | ff53e167670cc760ba0110e632607766dd324412 (patch) | |
tree | c10cd73d05201238588e1538c0a5b5f80fda8e69 /keyboards/jd40/jd40.c | |
parent | f16fece28330b65253047259a79670289b2bafd5 (diff) | |
parent | 8b0769fe5a615e0ed534187de79d09d668737313 (diff) |
Merge remote-tracking branch 'refs/remotes/jackhumbert/master'
Diffstat (limited to 'keyboards/jd40/jd40.c')
-rw-r--r-- | keyboards/jd40/jd40.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/keyboards/jd40/jd40.c b/keyboards/jd40/jd40.c new file mode 100644 index 0000000000..fa06356d97 --- /dev/null +++ b/keyboards/jd40/jd40.c @@ -0,0 +1,26 @@ +#include "jd40.h" + +void led_set_kb(uint8_t usb_led) { + // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here + + + // if (usb_led & (1<<USB_LED_CAPS_LOCK)) { + // gh60_caps_led_on(); + // } else { + // gh60_caps_led_off(); + // } + + // if (usb_led & (1<<USB_LED_NUM_LOCK)) { + // gh60_esc_led_on(); + // } else { + // gh60_esc_led_off(); + // } + + // if (usb_led & (1<<USB_LED_SCROLL_LOCK)) { + // gh60_fn_led_on(); + // } else { + // gh60_fn_led_off(); + // } + + led_set_user(usb_led); +} |