|
ISF15ACP4 Driver 0.1.0
API reference
|
One result of ButtonDebouncer::Update().
More...
#include <isf15acp4_button.hpp>
Public Attributes | |
| ButtonEvent | event {ButtonEvent::None} |
The event, or None. | |
| uint32_t | timestamp_ms |
When the level first changed (Pressed, Released), else the poll time. | |
| uint32_t | held_ms {0} |
Released, LongPress and Repeat: how long the switch was down. | |
| bool | was_long {false} |
Released: the press had reached long_press_ms. | |
| bool | woke_display |
Set by the driver's Poll(): this press woke a dimmed or sleeping display. | |
One result of ButtonDebouncer::Update().
| uint32_t isf15acp4::ButtonUpdate::timestamp_ms |
When the level first changed (Pressed, Released), else the poll time.
| bool isf15acp4::ButtonUpdate::woke_display |
Set by the driver's Poll(): this press woke a dimmed or sleeping display.