Button Channel
Channel Category: button
Represents a physical hardware button input. Reports press events such as single press, long press, and double press. Commonly used for host device hardware buttons or external button peripherals.
Required Properties
| Property | Data Type | Range/Values | Unit | Permissions |
|---|---|---|---|---|
event | Enum | press, long_press, double_press | - | EV |
Property Details
event
Button press event type (emitted on each press interaction)
Optional Properties
| Property | Data Type | Range/Values | Unit | Permissions |
|---|---|---|---|---|
detected | Bool | - | - | RO (Read-Only) |
active | Bool | - | - | RO (Read-Only) |
Property Details
detected
Whether the button is currently held down
active
Indicates if the button channel is currently active and functioning
Last updated on