summaryrefslogtreecommitdiff
path: root/keyboards/ergodox_ez
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-02-22 22:49:07 +0000
committerGitHub <noreply@github.com>2023-02-23 09:49:07 +1100
commit961f0b7b2de54f988daf4ce7b791f91a33e55612 (patch)
treea96aecd70d8f1341c81dc12d79cbb59a94803241 /keyboards/ergodox_ez
parentea772468650f7c79a9919a4770d371839985bef0 (diff)
Reallocate SAFE_RANGE (#19909)
Diffstat (limited to 'keyboards/ergodox_ez')
-rw-r--r--keyboards/ergodox_ez/ergodox_ez.h3
-rw-r--r--keyboards/ergodox_ez/keymaps/default/keymap.c4
-rw-r--r--keyboards/ergodox_ez/keymaps/nathanvercaemert/keymap.c2
-rw-r--r--keyboards/ergodox_ez/keymaps/stamm/keymap.c2
4 files changed, 3 insertions, 8 deletions
diff --git a/keyboards/ergodox_ez/ergodox_ez.h b/keyboards/ergodox_ez/ergodox_ez.h
index 7243a6a18d..2dbfdbba73 100644
--- a/keyboards/ergodox_ez/ergodox_ez.h
+++ b/keyboards/ergodox_ez/ergodox_ez.h
@@ -127,9 +127,8 @@ inline void ergodox_led_all_set(uint8_t n) {
}
enum ergodox_ez_keycodes {
- LED_LEVEL = SAFE_RANGE,
+ LED_LEVEL = QK_KB_0,
TOGGLE_LAYER_COLOR,
- EZ_SAFE_RANGE,
};
#ifndef WEBUSB_ENABLE
diff --git a/keyboards/ergodox_ez/keymaps/default/keymap.c b/keyboards/ergodox_ez/keymaps/default/keymap.c
index ede7d0e9fb..94d68cb870 100644
--- a/keyboards/ergodox_ez/keymaps/default/keymap.c
+++ b/keyboards/ergodox_ez/keymaps/default/keymap.c
@@ -8,11 +8,7 @@ enum layers {
};
enum custom_keycodes {
-#ifdef ORYX_CONFIGURATOR
- VRSN = EZ_SAFE_RANGE,
-#else
VRSN = SAFE_RANGE,
-#endif
};
// clang-format off
diff --git a/keyboards/ergodox_ez/keymaps/nathanvercaemert/keymap.c b/keyboards/ergodox_ez/keymaps/nathanvercaemert/keymap.c
index 6d466cc0de..14c3a46b69 100644
--- a/keyboards/ergodox_ez/keymaps/nathanvercaemert/keymap.c
+++ b/keyboards/ergodox_ez/keymaps/nathanvercaemert/keymap.c
@@ -27,7 +27,7 @@
#define NO_BSLS_ALT KC_EQUAL
enum custom_keycodes {
- RGB_SLD = EZ_SAFE_RANGE,
+ RGB_SLD = SAFE_RANGE,
MS_WH_UP,
MS_WH_DOWN,
MS_WH_RIGHT,
diff --git a/keyboards/ergodox_ez/keymaps/stamm/keymap.c b/keyboards/ergodox_ez/keymaps/stamm/keymap.c
index 21f58b298c..b7be1f72c1 100644
--- a/keyboards/ergodox_ez/keymaps/stamm/keymap.c
+++ b/keyboards/ergodox_ez/keymaps/stamm/keymap.c
@@ -37,7 +37,7 @@
#define ARROWS MO(_3_ARROW)
enum custom_keycodes {
- RGB_SLD = EZ_SAFE_RANGE,
+ RGB_SLD = SAFE_RANGE,
ALT_TAB,
};