Struct SYN_ButtonCombo¶
Combination button descriptor for simultaneous multi-button presses.
#include <syn_button.h>
Public Attributes¶
| Type | Name |
|---|---|
| bool | active |
| const SYN_Button ** | buttons |
| size_t | count |
| uint8_t | events |
| SYN_ButtonCallback | on_combo |
| void * | on_combo_ctx |
Public Attributes Documentation¶
variable active¶
True while combination is active
variable buttons¶
Array of pointers to monitored buttons
variable count¶
Number of buttons in combination
variable events¶
Pending events
variable on_combo¶
Callback when all buttons are held
variable on_combo_ctx¶
Callback context
The documentation for this class was generated from the following file src/syntropic/input/syn_button.h