Deprecate ONESHOT_* keycodes for QK_ONE_SHOT_* (#18844)

* Deprecate `ONESHOT_*` keycodes for `QK_ONE_SHOT_*`

* Docs
This commit is contained in:
Ryan authored and GitHub committed 2022-10-25 17:50:22 +01:00
1 parent 1d34f380eb
commit 812001de7f
4 files changed
+20 -16

No files matched your search

+3 -3
View File
@@ -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