mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-30 21:38:01 +06:00
fc5fb2fc15
* fixup readme to adhere to QMK standards and to also have more information * use pragma once * strip out the custom bootmagic lite routine as it is the same as QMK's default bootmagic lite routine. Also add the caps lock led indicator * turn on bootmagic lite * update default keymap * Update keyboards/playkbtw/ca66/ca66.c Co-Authored-By: fauxpark <fauxpark@gmail.com> * remove lines 4 thru 37 and add bootloader
13 lines
261 B
C
13 lines
261 B
C
#include "ca66.h"
|
|
|
|
void led_set_kb(uint8_t usb_led) {
|
|
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
|
|
if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
|
|
writePinHigh(D1);
|
|
} else {
|
|
writePinLow(D1);
|
|
}
|
|
|
|
led_set_user(usb_led);
|
|
}
|