![]() |
InputEvents v1.5.2
An easy to use but comprehensive Event Library for Buttons, Encoders, Encoder Buttons, Analog Inputs, Joysticks and Switches.
|
Contains InputEventType enums and some defines. More...
Go to the source code of this file.
Enumerations | |
| enum class | InputEventType : uint8_t { NONE , ENABLED , DISABLED , IDLE , PRESSED , RELEASED , CLICKED , DOUBLE_CLICKED , MULTI_CLICKED , LONG_CLICKED , LONG_PRESS , CHANGED , CHANGED_PRESSED , CHANGED_RELEASED , CHANGED_X , CHANGED_Y , ON , OFF , DRAGGED , DRAGGED_RELEASED , COUNT } |
| The size of the InputEventType enum. More... | |
Contains InputEventType enums and some defines.
GPLv2 Licence https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
Copyright (c) 2024 Philip Fletcher phili.nosp@m.p.fl.nosp@m.etche.nosp@m.r@st.nosp@m.utchb.nosp@m.ury..nosp@m.com
|
strong |
The size of the InputEventType enum.
A list of all events that can be fired by InputEvents classes.
| Enumerator | |
|---|---|
| NONE | 0 Used for initialising/testing |
| ENABLED | 1 Fired by all imputs |
| DISABLED | 2 Fired by all imputs |
| IDLE | 3 Fired by all imputs |
| PRESSED | 4 Fired by EventButton, EventEncoderButton and EventTouchScreen |
| RELEASED | 5 Fired by EventButton, EventEncoderButton and EventTouchScreen |
| CLICKED | 6 Fired by EventButton, EventEncoderButton and EventTouchScreen |
| DOUBLE_CLICKED | 7 Fired by EventButton, EventEncoderButton and EventTouchScreen |
| MULTI_CLICKED | 8 Fired by EventButton, EventEncoderButton and EventTouchScreen |
| LONG_CLICKED | 9 Fired by EventButton, EventEncoderButton and EventTouchScreen |
| LONG_PRESS | 10 Fired by EventButton, EventEncoderButton and EventTouchScreen |
| CHANGED | 11 Fired by EventEncoder and EventAnalog |
| CHANGED_PRESSED | 12 Fired by EventEncoderButton |
| CHANGED_RELEASED | 13 Fired by EventEncoderButton |
| CHANGED_X | 14 Fired Bby EventJoystick |
| CHANGED_Y | 15 Fired Bby EventJoystick |
| ON | 16 Fired by EventSwitch |
| OFF | 17 Fired by EventSwitch |
| DRAGGED | 18 Fired by [EventTouchScreen]() (experimental) |
| DRAGGED_RELEASED | 19 Fired by EventTouchScreen (experimental) |
| COUNT | Not used - replaces NUM_EVENT_TYPE_ENUMS. |