Faster rotary encoder events (#9146)

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
brad112358
2026-01-02 20:22:40 -06:00
committed by GitHub
parent f63dadd19e
commit 52907e4c44
3 changed files with 13 additions and 2 deletions

View File

@@ -24,6 +24,9 @@ int BuzzerFeedbackThread::handleInputEvent(const InputEvent *event)
switch (event->inputEvent) {
case INPUT_BROKER_USER_PRESS:
case INPUT_BROKER_ALT_PRESS:
playClick(); // Low delay feedback
break;
case INPUT_BROKER_SELECT:
case INPUT_BROKER_SELECT_LONG:
playBeep(); // Confirmation feedback
@@ -58,4 +61,4 @@ int BuzzerFeedbackThread::handleInputEvent(const InputEvent *event)
}
return 0; // Allow other handlers to process the event
}
}