Skip to content

Commit

Permalink
Merge pull request #222 from tam1m/wireless_playground
Browse files Browse the repository at this point in the history
fix custom keycode enum in keychron_common.h
  • Loading branch information
lokher authored Mar 30, 2024
2 parents fd70215 + 0cddb71 commit 07208a1
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions keyboards/keychron/common/keychron_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,25 +37,28 @@ enum {
BT_HST3,
P2P4G,
BAT_LVL,
#else
BT_HST1 = _______,
BT_HST2 = _______,
BT_HST3 = _______,
P2P4G = _______,
BAT_LVL = _______,
#endif
#ifdef DANANLOG_MATRIX
#ifdef ANANLOG_MATRIX
PROF1,
PROF2,
PROF3,
#else
PROF1 = _______,
PROF2 = _______,
PROF3 = _______,
#endif
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
Expand Down

0 comments on commit 07208a1

Please sign in to comment.