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 <lokher@gmail.com>
This commit is contained in:
tam1m 2024-03-08 15:34:26 +01:00
parent 53c2c1b1f5
commit 0cddb718d9

View File

@ -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