|
Lamp-Da 0.1
A compact lantern project
|
Handle the system input, the behavior associated to the button inputs. More...
Functions | |
| void | button_clicked_callback (const uint8_t consecutiveButtonCheck) |
| void | button_hold_callback (const uint8_t consecutiveButtonCheck, const uint32_t buttonHoldDuration) |
| void | init (const bool wasPoweredByUserInterrupt) |
| Call once on system start. | |
| void | loop () |
| Call often to handle button updates. | |
| void | button_disable_usermode () |
| disable custom user modes | |
| bool | is_button_usermode_enabled () |
| return true if custom user modes are enabled | |
Handle the system input, the behavior associated to the button inputs.
| void lampda::logic::inputs::init | ( | const bool | wasPoweredByUserInterrupt | ) |
Call once on system start.
| [in] | wasPoweredByUserInterrupt | Indicates if the system was powered by the user button interrupt |