mirror of
https://github.com/godotengine/godot.git
synced 2024-11-23 04:33:29 +00:00
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_builders.py | ||
input_enums.h | ||
input_event.cpp | ||
input_event.h | ||
input_map.cpp | ||
input_map.h | ||
input.cpp | ||
input.h | ||
SCsub | ||
shortcut.cpp | ||
shortcut.h |