Naprawa isPressed() - dodanie wykrywania zbocza opadajacego, co rozwiazuje problem wielokrotnego wyzwalania akcji przy przytrzymaniu

This commit is contained in:
Victus
2026-05-11 00:39:26 +02:00
parent 7f44514172
commit 7d997ed543
2 changed files with 22 additions and 5 deletions

View File

@@ -47,6 +47,10 @@ private:
void constrainValue(int &value, int minVal, int maxVal);
void printField(const char *label, int value);
bool lastState1_ = true;
bool lastState2_ = true;
bool lastState3_ = true;
};
#endif