Definition of the callback functiosn. More...
Go to the source code of this file.
Functions | |
void | onEvent (Button::CALLBACK_EVENT event, uint8_t id) |
Callback function for button events. More... | |
Definition of the callback functiosn.
These functions perform some assertions on the state of the button list and the individual button pressed when a button is pressed. They also set button state flags so the main program can verify button states after hendling the events.
Definition in file Callback.cpp.
void onEvent | ( | Button::CALLBACK_EVENT | event, |
uint8_t | id | ||
) |
Callback function for button events.
event | The event that has occured. |
id | The identifier of the button generating the callback. |
Definition at line 20 of file Callback.cpp.