From 0cddb718d92c444e6e86f701f97a8f36a1e01d83 Mon Sep 17 00:00:00 2001 From: tam1m Date: Fri, 8 Mar 2024 15:34:26 +0100 Subject: [PATCH] Add defines for keychron custom keycodes when LK_WIRELESS_ENABLE and/or ANANLOG_MATRIX are not defined see: https://github.com/Keychron/qmk_firmware/pull/222/files#r1507606593 Co-authored-by: lokher --- keyboards/keychron/common/keychron_common.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/keyboards/keychron/common/keychron_common.h b/keyboards/keychron/common/keychron_common.h index 86e42f62e5..6f2147e78b 100644 --- a/keyboards/keychron/common/keychron_common.h +++ b/keyboards/keychron/common/keychron_common.h @@ -46,6 +46,19 @@ enum { NEW_SAFE_RANGE, }; +#ifndef LK_WIRELESS_ENABLE + #define BT_HST1 KC_TRANS + #define BT_HST2 KC_TRANS + #define BT_HST3 KC_TRANS + #define P2P4G KC_TRANS + #define BAT_LVL KC_TRANS +#endif +#ifndef ANANLOG_MATRIX + #define PROF1 KC_TRANS + #define PROF2 KC_TRANS + #define PROF3 KC_TRANS +#endif + #define KC_TASK KC_TASK_VIEW #define KC_FILE KC_FILE_EXPLORER #define KC_SNAP KC_SCREEN_SHOT