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.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'quantum/quantum.c') diff --git a/quantum/quantum.c b/quantum/quantum.c index 2c55f45e3b..2333357be1 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c @@ -395,13 +395,13 @@ bool process_record_quantum(keyrecord_t *record) { return false; #endif #ifndef NO_ACTION_ONESHOT - case ONESHOT_TOGGLE: + case QK_ONE_SHOT_TOGGLE: oneshot_toggle(); break; - case ONESHOT_ENABLE: + case QK_ONE_SHOT_ON: oneshot_enable(); break; - case ONESHOT_DISABLE: + case QK_ONE_SHOT_OFF: oneshot_disable(); break; #endif -- cgit v1.2.3