forked from mirrors/qmk_userspace
Remove *_CALLBACK_ENABLE related code; Fix V2 Max device name
This commit is contained in:
parent
0b812c9dc0
commit
f9f4cf410f
21 changed files with 67 additions and 435 deletions
|
@ -13,29 +13,13 @@
|
|||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "stdint.h"
|
||||
#include "action.h"
|
||||
|
||||
#ifdef KEYCHRON_CALLBACK_ENABLE
|
||||
typedef bool (*keychron_cb)(void);
|
||||
typedef bool (*keychron_record_process_cb)(uint16_t keycode, keyrecord_t *record);
|
||||
|
||||
|
||||
bool process_record_keychron(uint16_t keycode, keyrecord_t *record);
|
||||
|
||||
void register_keychron_task(keychron_cb cb, bool priority);
|
||||
void register_record_process(keychron_record_process_cb cb, bool priority);
|
||||
#if defined(LED_MATRIX_ENABLE) || defined(RGB_MATRIX_ENABLE)
|
||||
void register_led_indicator_task(keychron_cb cb, bool priority);
|
||||
#endif
|
||||
|
||||
#else
|
||||
bool keychron_task_kb(void);
|
||||
bool process_record_keychron_kb(uint16_t keycode, keyrecord_t *record);
|
||||
|
||||
#endif
|
||||
void keychron_task(void);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue