mirror of
https://github.com/ratspeak/ratdeck.git
synced 2026-06-03 14:24:12 +00:00
v1.2.2: Fix trackball, add display name support, announce with app_data
- Fix trackball completely dead: remove gpio_reset_pin() calls that prevented GPIO interrupts from registering on ESP32-S3 - Add trackball left/right tab cycling when screen doesn't consume event - Add NameInputScreen: Ratspeak-branded first-boot name input - Add display name to all announces as MessagePack app_data - Add TEXT_INPUT setting type; expose Display Name in Settings - HomeScreen Enter key sends announce with toast notification - Bump version to 1.2.2
This commit is contained in:
@@ -18,6 +18,14 @@ void HomeScreen::update() {
|
||||
}
|
||||
}
|
||||
|
||||
bool HomeScreen::handleKey(const KeyEvent& event) {
|
||||
if (event.enter || event.character == '\n' || event.character == '\r') {
|
||||
if (_announceCb) _announceCb();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
void HomeScreen::draw(LGFX_TDeck& gfx) {
|
||||
int x = 4;
|
||||
int y = Theme::CONTENT_Y + 4;
|
||||
|
||||
Reference in New Issue
Block a user