aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/xd004/xd004.c
diff options
context:
space:
mode:
authorSidney Bovet <sidney.bovet@gmail.com>2019-07-15 19:35:05 +0200
committerDrashna Jaelre <drashna@live.com>2019-07-15 10:35:05 -0700
commita200f194d14086e2da740ac48bac5ffdf36689d8 (patch)
tree0a8cb1ae1bbd535e70868379c54a643672cf09d4 /keyboards/xd004/xd004.c
parentb2fb0ceeef1a3f8ba96184fbeb21b2c89456c06a (diff)
downloadfirmware-a200f194d14086e2da740ac48bac5ffdf36689d8.tar.gz
firmware-a200f194d14086e2da740ac48bac5ffdf36689d8.tar.bz2
firmware-a200f194d14086e2da740ac48bac5ffdf36689d8.zip
[Keyboard] Add support for XD004 macro keyboard (#6337)
* Add support for XD004 Also applying the following suggested edits: Add hardware availability link in readme Co-Authored-By: Drashna Jaelre <drashna@live.com> Enable lite bootmagic Co-Authored-By: Drashna Jaelre <drashna@live.com> Remove commented out MCU Co-Authored-By: fauxpark <fauxpark@gmail.com> * Add more ellaborate keymap Correcting usage of tap_code_16 for modified key, thanks to @drashna * Add information about bootloader type Co-Authored-By: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/xd004/xd004.c')
-rw-r--r--keyboards/xd004/xd004.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/keyboards/xd004/xd004.c b/keyboards/xd004/xd004.c
new file mode 100644
index 000000000..37a1dca14
--- /dev/null
+++ b/keyboards/xd004/xd004.c
@@ -0,0 +1,7 @@
+#include "xd004.h"
+
+void led_set_kb(uint8_t usb_led) {
+ // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
+
+ led_set_user(usb_led);
+}