Add Q5/Q6/Q8/K5/K7/V5 Max

This commit is contained in:
lokher 2024-01-31 18:25:41 +08:00
commit 0b812c9dc0
160 changed files with 10423 additions and 187 deletions

View file

@ -60,7 +60,7 @@ void keyboard_post_init_kb(void) {
keyboard_post_init_user();
}
bool lemokey_task_kb(void) {
bool keychron_task_kb(void) {
if (power_on_indicator_timer) {
if (timer_elapsed32(power_on_indicator_timer) > POWER_ON_LED_DURATION) {
power_on_indicator_timer = 0;
@ -68,6 +68,7 @@ bool lemokey_task_kb(void) {
#ifdef LK_WIRELESS_ENABLE
writePin(BAT_LOW_LED_PIN, !BAT_LOW_LED_PIN_ON_STATE);
#endif
} else {
#ifdef LK_WIRELESS_ENABLE
writePin(BAT_LOW_LED_PIN, BAT_LOW_LED_PIN_ON_STATE);