|
Nebula
|
#include <actionmap.h>
One control.
code is the code for its source: a Key::Code, a MouseButton::Code, or a GamePadBase button or axis. For a mouse move it is the component, 0 for x and 1 for y.
Public Attributes | |
| SourceType | source = InvalidSource |
| IndexT | code = InvalidIndex |
| Input::Modifier::Code | mods = Input::Modifier::NoModifier |
| float | scale = 1.0f |
| IndexT Input::ActionBinding::code = InvalidIndex |
| Input::Modifier::Code Input::ActionBinding::mods = Input::Modifier::NoModifier |
| float Input::ActionBinding::scale = 1.0f |
| SourceType Input::ActionBinding::source = InvalidSource |