simplify logic

This commit is contained in:
JQ
2025-05-30 22:14:37 -07:00
parent db8e72791c
commit c445bbeaf2
2 changed files with 6 additions and 6 deletions

View File

@@ -36,7 +36,7 @@ public:
void onAnyPress(EventCallback callback) { _onAnyPress = callback; }
// State getters
bool isPressed() const { return _currentState == _activeState; }
bool isPressed() const { return _currentState; }
EventType getLastEvent() const { return _lastEvent; }
private: