mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-24 20:57:18 +01:00
Relintai
3331a7ae04
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.
- m4gr3d
|
||
---|---|---|
.. | ||
default_controller_mappings.h | ||
gamecontrollerdb.txt | ||
input_builders.py | ||
input_event.cpp | ||
input_event.h | ||
input_map.cpp | ||
input_map.h | ||
input.cpp | ||
input.h | ||
pandemoniumcontrollerdb.txt | ||
SCsub | ||
shortcut.cpp | ||
shortcut.h |