Remove hardcoded VIA keycode range (#18956)

This commit is contained in:
Joel Challis 2022-11-05 08:12:37 +00:00 committed by GitHub
parent 54682f961e
commit a070c4c501
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ typedef union {
// Start these at the USER code range in VIA
enum my_keycodes {
ENC_PRESS = 0x5F80,
ENC_PRESS = USER00,
CLOCK_SET,
OLED_TOGG
};

View File

@ -25,7 +25,7 @@ enum layer_names {
#define KC_DISC_MUTE KC_F23
#define KC_DISC_DEAF KC_F24
#define NUM_CUST_KEYCODES (_NUM_CUST_KCS - SAFE_RANGE)
#define VIA_KEYCODE_RANGE 0x5F80
#define VIA_KEYCODE_RANGE USER00
enum custom_keycodes {
PROG = SAFE_RANGE,