Add a slightly more complex example that uses every button type.
This commit is contained in:
parent
763e55d518
commit
97056ddee6
3 changed files with 25 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
|||
#define JOYSTICK_NUM_BYTES (JOYSTICK_NUM_BUTTONS+7)/8
|
||||
|
||||
enum ButtonType {
|
||||
BUTTON_MAINTAINED = 0x1,
|
||||
BUTTON_LATCHED = 0x1,
|
||||
BUTTON_PULSED = 0x2,
|
||||
BUTTON_PULSED_DOUBLE_ACTION = 0x4
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue