|
M5Unit-KEYBOARD 0.1.0 git rev:b58d024
|
Host-side port of the iot_button v4.1.4 click/long-press FSM. More...
#include <cstdint>Go to the source code of this file.
Namespaces | |
| namespace | m5 |
| Top level namespace of M5Stack. | |
Enumerations | |
| enum class | m5::unit::keyboard_bitwise::ButtonEvent : uint8_t { None , PressDown , PressUp , SingleClick , DoubleClick , LongPressStart , LongPressUp } |
| Semantic button events (subset of iot_button needed for CardKB2 modifiers) | |
Host-side port of the iot_button v4.1.4 click/long-press FSM.
Converts raw PRESS/RELEASE frame edges plus a millisecond clock into semantic button events. Drives off edge() (frame arrival) and poll() (each tick).