|
coastline 0.0.4
|
A button or the half of an axis of a gamepad that drives an action. More...
#include <controls.h>
Public Attributes | |
| bool | axis |
| int | index |
| int | sign |
A button or the half of an axis of a gamepad that drives an action.
| bool coastline::ControlSource::axis |
Whether the source is an axis rather than a button.
| int coastline::ControlSource::index |
The SDL_GamepadButton or the SDL_GamepadAxis.
| int coastline::ControlSource::sign |
1 for the positive half of an axis, -1 for the negative half.