|
ASW Lib
A.D.S. Games SDL Wrapper Library. A library targeted at Allegro4 users who want to switch to SDL3 and use modern c++.
|
Binding to a controller axis, activated when the axis exceeds a threshold. More...
#include <action.h>
Public Attributes | |
| ControllerAxis | axis |
| uint32_t | controller_index { 0 } |
| float | threshold { 0.5F } |
| bool | positive_direction { true } |
Binding to a controller axis, activated when the axis exceeds a threshold.
Set positive_direction to false to bind to the negative axis direction (e.g. left stick left, or left trigger in inverted mode).
| ControllerAxis asw::input::ControllerAxisBinding::axis |
| uint32_t asw::input::ControllerAxisBinding::controller_index { 0 } |
| bool asw::input::ControllerAxisBinding::positive_direction { true } |