summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-11-05 08:12:37 +0000
committerGitHub <noreply@github.com>2022-11-05 08:12:37 +0000
commita070c4c50134cf274a674ee73227289fde81b8ed (patch)
treee0c72f5c4932909784cb3f668571d94c7ca57365 /keyboards
parent54682f961e5d4eb1ea66aaec36303800842b7fc3 (diff)
Remove hardcoded VIA keycode range (#18956)
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/cannonkeys/satisfaction75/satisfaction75.h2
-rw-r--r--keyboards/nullbitsco/nibble/keymaps/via/keymap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/cannonkeys/satisfaction75/satisfaction75.h b/keyboards/cannonkeys/satisfaction75/satisfaction75.h
index c6dbc31f1b..ea71345a38 100644
--- a/keyboards/cannonkeys/satisfaction75/satisfaction75.h
+++ b/keyboards/cannonkeys/satisfaction75/satisfaction75.h
@@ -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
};
diff --git a/keyboards/nullbitsco/nibble/keymaps/via/keymap.c b/keyboards/nullbitsco/nibble/keymaps/via/keymap.c
index 399fe552df..aab6a41af3 100644
--- a/keyboards/nullbitsco/nibble/keymaps/via/keymap.c
+++ b/keyboards/nullbitsco/nibble/keymaps/via/keymap.c
@@ -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,