Add Q5/Q6/Q8/K5/K7/V5 Max
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Copyright 2023 @ Keychron (https://www.keychron.com)
|
||||
/* Copyright 2024 @ Keychron (https://www.keychron.com)
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -23,6 +23,7 @@
|
||||
#ifdef LK_WIRELESS_ENABLE
|
||||
# include "lkbt51.h"
|
||||
# include "wireless.h"
|
||||
# include "transport.h"
|
||||
# include "keychron_wireless_common.h"
|
||||
# include "battery.h"
|
||||
#endif
|
||||
@@ -30,9 +31,6 @@
|
||||
#define POWER_ON_LED_DURATION 3000
|
||||
static uint32_t power_on_indicator_timer;
|
||||
|
||||
#ifdef KEYCHRON_CALLBACK_ENABLE
|
||||
bool keychron_task_kb(void);
|
||||
#endif
|
||||
|
||||
bool dip_switch_update_kb(uint8_t index, bool active) {
|
||||
if (index == 0) {
|
||||
@@ -56,11 +54,7 @@ void keyboard_post_init_kb(void) {
|
||||
#ifdef ENCODER_ENABLE
|
||||
encoder_cb_init();
|
||||
#endif
|
||||
#ifdef KEYCHRON_CALLBACK_ENABLE
|
||||
factory_test_init();
|
||||
register_record_process(process_record_keychron_kb, false);
|
||||
register_keychron_task(keychron_task_kb, false);
|
||||
#endif
|
||||
|
||||
keyboard_post_init_user();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user