Skip to content

Commit

Permalink
Remove hardcoded VIA keycode range (#18956)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr authored Nov 5, 2022
1 parent 54682f9 commit a070c4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion keyboards/cannonkeys/satisfaction75/satisfaction75.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
Expand Down
2 changes: 1 addition & 1 deletion keyboards/nullbitsco/nibble/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a070c4c

Please sign in to comment.