summaryrefslogtreecommitdiff
path: root/keyboards/hardwareabstraction
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2023-02-23 09:19:00 +1100
committerGitHub <noreply@github.com>2023-02-23 09:19:00 +1100
commit7f805cc7799deb0ca75f751cebd32c6640058af9 (patch)
treeebc20e21b50812ea4455bdfc5567c8025aa4fc74 /keyboards/hardwareabstraction
parent403b0addea48548abdbde6203d8673f2b77164a7 (diff)
VIA Protocol 12 + fixes (#19916)
Co-authored-by: Wilba <wilba@wilba.tech> Co-authored-by: zvecr <git@zvecr.com>
Diffstat (limited to 'keyboards/hardwareabstraction')
-rw-r--r--keyboards/hardwareabstraction/handwire/handwire.c6
-rw-r--r--keyboards/hardwareabstraction/handwire/keymaps/via/keymap.c2
2 files changed, 2 insertions, 6 deletions
diff --git a/keyboards/hardwareabstraction/handwire/handwire.c b/keyboards/hardwareabstraction/handwire/handwire.c
index 61a233d120..c61e4c7626 100644
--- a/keyboards/hardwareabstraction/handwire/handwire.c
+++ b/keyboards/hardwareabstraction/handwire/handwire.c
@@ -11,11 +11,7 @@ static bool buzzer_active = false;
static bool initial_keypress = false;
enum custom_keycodes{
- #ifdef VIA_ENABLE
- KC_HPTON = USER00,
- #else
- KC_HPTON = SAFE_RANGE,
- #endif
+ KC_HPTON = QK_KB_0,
KC_HPTOFF,
KC_HPTTOG,
KC_HPTRST,
diff --git a/keyboards/hardwareabstraction/handwire/keymaps/via/keymap.c b/keyboards/hardwareabstraction/handwire/keymaps/via/keymap.c
index b5fcd913a9..0ae30fb8b6 100644
--- a/keyboards/hardwareabstraction/handwire/keymaps/via/keymap.c
+++ b/keyboards/hardwareabstraction/handwire/keymaps/via/keymap.c
@@ -4,7 +4,7 @@
#include QMK_KEYBOARD_H
enum custom_keycodes{
- KC_HPTON = USER00,
+ KC_HPTON = QK_KB_0,
KC_HPTOFF,
KC_HPTTOG,
KC_HPTRST,