mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-25 01:47:10 +06:00
Remove hardcoded VIA keycode range (#18956)
This commit is contained in:
parent
54682f961e
commit
a070c4c501
|
@ -25,7 +25,7 @@ typedef union {
|
||||||
|
|
||||||
// Start these at the USER code range in VIA
|
// Start these at the USER code range in VIA
|
||||||
enum my_keycodes {
|
enum my_keycodes {
|
||||||
ENC_PRESS = 0x5F80,
|
ENC_PRESS = USER00,
|
||||||
CLOCK_SET,
|
CLOCK_SET,
|
||||||
OLED_TOGG
|
OLED_TOGG
|
||||||
};
|
};
|
||||||
|
|
|
@ -25,7 +25,7 @@ enum layer_names {
|
||||||
#define KC_DISC_MUTE KC_F23
|
#define KC_DISC_MUTE KC_F23
|
||||||
#define KC_DISC_DEAF KC_F24
|
#define KC_DISC_DEAF KC_F24
|
||||||
#define NUM_CUST_KEYCODES (_NUM_CUST_KCS - SAFE_RANGE)
|
#define NUM_CUST_KEYCODES (_NUM_CUST_KCS - SAFE_RANGE)
|
||||||
#define VIA_KEYCODE_RANGE 0x5F80
|
#define VIA_KEYCODE_RANGE USER00
|
||||||
|
|
||||||
enum custom_keycodes {
|
enum custom_keycodes {
|
||||||
PROG = SAFE_RANGE,
|
PROG = SAFE_RANGE,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user