17# if TESTABLE_CLASS >= TESTABLE_CLICKER
20# if TESTABLE_CLASS >= TESTABLE_DOUBLECLICKER
30# if TESTABLE_CLASS >= TESTABLE_CLICKER
33# if TESTABLE_CLASS >= TESTABLE_DOUBLECLICKER
34 bool wasSingleClicked;
35 bool resetSingleClicked;
36 bool wasDoubleClicked;
37 bool resetDoubleClicked;
void checkButtonJustSingleClicked(Button *btn)
Check button that has just been single-clicked.
void checkButtonJustClicked(Button *btn)
Check button that has just been clicked.
void checkButtonListIntegrity()
Check integrity of ButtonList invariants (always hold true).
void checkButtonJustReleased(Button *btn)
Check button that has just been released.
void checkButtonJustHeld(Button *btn)
Check button that has just been held.
void checkButtonIntegrity(Button *btn, ButtonState &state)
Check integrity of Button invariants (always hold true).
void checkButtonJustIdle(Button *btn)
Check button that has just become or remains idle.
void checkButtonSetup(Button *btn)
Check the state of an individual button just setup.
void displayButtonChanges(int index)
Display button changes to Serial.
struct ButtonState btnState[NUM_BUTTONS]
Previous state for each button.
void checkButtonJustDoubleClicked(Button *btn)
Check button that has just been double-clicked.
void checkButtonJustPressed(Button *btn)
Check state of a pressed button just pressed.
Declarations to select which buttons we use.
#define NUM_BUTTONS
The number of buttons to connect for testing.