Add touch gesture support and LilyGo T5 S3 board
Implements bottom-edge swipe-up gesture detection and delayed touch-select with tracking state. Adds isTouchTapCandidate() to distinguish taps from swipes. Includes LilyGo T5 S3 board configuration with USB CDC logging transport for boards where Serial operator bool reports false incorrectly.
This commit is contained in:
1 parent
6648a980cb
commit
526cf1b6f9
17 files changed
+248
-62
No files matched your search
@@ -417,7 +417,7 @@ void WifiSelectionActivity::loop() {
|
||||
requestUpdate();
|
||||
return;
|
||||
}
|
||||
// Touch: down-select highlights the pressed network, tap selects it (like Confirm).
|
||||
// Touch: stable press highlights; tap selects it (like Confirm). Drag/scroll contacts do not preselect a row.
|
||||
int downId = -1;
|
||||
if (mappedInput.wasItemTouchedDown(downId) && downId >= 0 && downId < static_cast<int>(networks.size())) {
|
||||
selectedNetworkIndex = downId;
|
||||
|
||||
Reference in new issue
Block a user