diff options
author | dbroqua <dbroqua@mousur.org> | 2017-05-07 22:56:27 +0200 |
---|---|---|
committer | dbroqua <dbroqua@mousur.org> | 2017-05-07 22:56:27 +0200 |
commit | 230c70e28515d294fcad68e924f0a557a197f40a (patch) | |
tree | 2f880de39b2e2249ae21e23290bd3147f79ac081 /keyboards/dk60/dk60.c | |
parent | 7180e195e84aabf252fcadb2852644417ac1d663 (diff) | |
download | qmk_firmware-230c70e28515d294fcad68e924f0a557a197f40a.tar.gz |
- Initial commit for branch DK60
Diffstat (limited to 'keyboards/dk60/dk60.c')
-rw-r--r-- | keyboards/dk60/dk60.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/keyboards/dk60/dk60.c b/keyboards/dk60/dk60.c new file mode 100644 index 000000000..40fee6f70 --- /dev/null +++ b/keyboards/dk60/dk60.c @@ -0,0 +1,13 @@ +#include "dk60.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)) { + dk60_caps_led_on(); + } else { + dk60_caps_led_off(); + } + + led_set_user(usb_led); +}
\ No newline at end of file |