![]() |
Doly C++ SDK v1.00
|
Doly touch control and event API. More...
Files | |
| file | TouchControl.h |
| Public API for Doly touch sensor control. | |
| file | TouchEvent.h |
| Event registration helpers for the touch subsystem. | |
Classes | |
| class | TouchEventListener |
| Observer interface for receiving touch state and activity events. More... | |
Enumerations | |
| enum class | TouchSide : uint8_t { TouchSide::BOTH , TouchSide::LEFT , TouchSide::RIGHT } |
| Which touch sensor(s) to address. More... | |
| enum class | TouchState : uint8_t { TouchState::UP , TouchState::DOWN } |
| Touch press/release state. More... | |
| enum class | TouchActivity : uint8_t { TouchActivity::PATTING , TouchActivity::DISTURB } |
| High-level touch activity classification (implementation-defined). More... | |
Doly touch control and event API.
Touch module.
|
strong |
High-level touch activity classification (implementation-defined).
| Enumerator | |
|---|---|
| PATTING | Patting motion detected. |
| DISTURB | Disturbing/standing touch detected. |
|
strong |
Which touch sensor(s) to address.
| Enumerator | |
|---|---|
| BOTH | Apply to both sensors. |
| LEFT | Left touch sensor. |
| RIGHT | Right touch sensor. |
|
strong |
Touch press/release state.
| Enumerator | |
|---|---|
| UP | Touch released. |
| DOWN | Touch pressed. |