From 812001de7fd0926f59fd399550f902ef4ec03ee6 Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 26 Oct 2022 03:50:22 +1100 Subject: Deprecate `ONESHOT_*` keycodes for `QK_ONE_SHOT_*` (#18844) * Deprecate `ONESHOT_*` keycodes for `QK_ONE_SHOT_*` * Docs --- quantum/quantum_keycodes_legacy.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'quantum/quantum_keycodes_legacy.h') diff --git a/quantum/quantum_keycodes_legacy.h b/quantum/quantum_keycodes_legacy.h index 858875a58d..f53b8ef72a 100644 --- a/quantum/quantum_keycodes_legacy.h +++ b/quantum/quantum_keycodes_legacy.h @@ -14,6 +14,10 @@ #define KEY_OVERRIDE_ON QK_KEY_OVERRIDE_ON #define KEY_OVERRIDE_OFF QK_KEY_OVERRIDE_OFF +#define ONESHOT_ENABLE QK_ONE_SHOT_ON +#define ONESHOT_DISABLE QK_ONE_SHOT_OFF +#define ONESHOT_TOGGLE QK_ONE_SHOT_TOGGLE + #define PROGRAMMABLE_BUTTON_1 QK_PROGRAMMABLE_BUTTON_1 #define PROGRAMMABLE_BUTTON_2 QK_PROGRAMMABLE_BUTTON_2 #define PROGRAMMABLE_BUTTON_3 QK_PROGRAMMABLE_BUTTON_3 -- cgit v1.2.3