250749fa79
The `InputEvent` class currently supports the `pressed` and `released` states, which given the binary nature, is represented by a `bool` field. This commit introduced the `CANCELED` state, which signals that an ongoing input event has been canceled. To represent all the states, the `InputEventState` enum is added and the `InputEvent` logic is refactored accordingly. |
||
---|---|---|
.. | ||
default_controller_mappings.h | ||
gamecontrollerdb.txt | ||
godotcontrollerdb.txt | ||
input.cpp | ||
input.h | ||
input_builders.py | ||
input_enums.h | ||
input_event.cpp | ||
input_event.h | ||
input_map.cpp | ||
input_map.h | ||
SCsub | ||
shortcut.cpp | ||
shortcut.h |