Deprecate ONESHOT_* keycodes for QK_ONE_SHOT_* (#18844)

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

* Docs
This commit is contained in:
Ryan 2022-10-26 03:50:22 +11:00 committed by GitHub
parent 1d34f380eb
commit 812001de7f
Failed to generate hash of commit
4 changed files with 20 additions and 16 deletions

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