feat(touch): add press/release detection with touch-down tracking
This commit is contained in:
@@ -28,7 +28,7 @@ private:
|
||||
void drawDashboard(const ScreenState& state);
|
||||
|
||||
// Touch handling
|
||||
TouchEvent _lastTouch = { false, 0, 0 };
|
||||
TouchEvent _lastTouch = { false, false, 0, 0, -1, -1 };
|
||||
unsigned long _pressStartMs = 0;
|
||||
bool _isHolding = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user