Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix custom keycode enum in keychron_common.h #222

Merged
merged 2 commits into from
Mar 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 14 additions & 11 deletions keyboards/keychron/common/keychron_common.h
Original file line number Diff line number Diff line change
@@ -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