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.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'quantum/quantum_keycodes.h') diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h index 06cc7835ae..8689b913ed 100644 --- a/quantum/quantum_keycodes.h +++ b/quantum/quantum_keycodes.h @@ -505,9 +505,9 @@ enum quantum_keycodes { #define SQ_T(n) (n < SEQUENCER_TRACKS ? SEQUENCER_TRACK_MIN + n : KC_NO) // One Shot - ONESHOT_ENABLE, - ONESHOT_DISABLE, - ONESHOT_TOGGLE, + QK_ONE_SHOT_ON, + QK_ONE_SHOT_OFF, + QK_ONE_SHOT_TOGGLE, // RGB underglow/matrix (continued) RGB_MODE_TWINKLE, @@ -923,9 +923,9 @@ enum quantum_keycodes { #define QK_JOYSTICK_BUTTON_MAX QK_JOYSTICK_BUTTON_31 // One Shot aliases -#define OS_TOGG ONESHOT_TOGGLE -#define OS_ON ONESHOT_ENABLE -#define OS_OFF ONESHOT_DISABLE +#define OS_TOGG QK_ONE_SHOT_TOGGLE +#define OS_ON QK_ONE_SHOT_ON +#define OS_OFF QK_ONE_SHOT_OFF // Programmable Button aliases #define PB_1 QK_PROGRAMMABLE_BUTTON_1 -- cgit v1.2.3