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

@@ -113,7 +113,14 @@ void playShutdownMelody()
void playChirp()
{
// A short, friendly "chirp" sound for key presses
ToneDuration melody[] = {{NOTE_AS3, 20}}; // Very short AS3 note
ToneDuration melody[] = {{NOTE_AS3, 20}}; // Short AS3 note
playTones(melody, sizeof(melody) / sizeof(ToneDuration));
}
void playClick()
{
// A very short "click" sound with minimum delay; ideal for rotary encoder events
ToneDuration melody[] = {{NOTE_AS3, 1}}; // Very Short AS3
playTones(melody, sizeof(melody) / sizeof(ToneDuration));
}