|
R-Type 0.1
|
One physical control bound to an action. More...
#include <inputAction/inputMapping.hpp>
Public Types | |
| enum class | Type : uint8_t { NoneAction , Keyboard , GamepadButton , GamepadAxis , Mouse } |
| Kind of physical control. More... | |
Public Member Functions | |
| InputBinding () | |
| Creates an empty binding. | |
Public Attributes | ||
| Type | type {Type::NoneAction} | |
| Which union member is active. | ||
| union { | ||
| ecs::concepts::Key key | ||
| Bound key. | ||
| ecs::concepts::GamepadButton button | ||
| Bound gamepad button. | ||
| ecs::concepts::MouseButton mouse | ||
| Bound mouse button. | ||
| AxisData axisData | ||
| Bound gamepad axis. | ||
| }; | ||
One physical control bound to an action.
|
strong |