keychron_qmk_firmware/keyboards/xd004/xd004.c
Sidney Bovet a200f194d1 [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>
2019-07-15 10:35:05 -07:00

8 lines
163 B
C

#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);
}