diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-09-05 13:19:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-05 13:19:58 -0400 |
commit | fcc2d4394303630c797a48f47fe7b4bc086aa592 (patch) | |
tree | f17a8ee76f788101617039f888a16f3a97f3098f /keyboards/jd40/jd40.c | |
parent | f1b67299219b6da3cecb94acd592f5ffe43dd7c3 (diff) | |
parent | 11224a00fe79bcba8ed596847000b7ad8118b95f (diff) |
Merge pull request #716 from MajorKoos/master
Add support for JD40 MKII PCB
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); +} |