Base class for mappings that bind an SDL gamepad axis direction to any controller input.
Definition SDLAxisDirectionToAnyMapping.h:14
SDLAxisDirectionToAnyMapping(int32_t sdlControllerAxis, int32_t axisDirection)
Constructs an SDL axis-direction mapping.
virtual ~SDLAxisDirectionToAnyMapping()
Destructor.
bool AxisIsTrigger()
Tests whether this axis represents a trigger (e.g. LT / RT).
bool AxisIsStick()
Tests whether this axis represents an analog stick axis.
std::string GetPhysicalDeviceName() override
Returns the human-readable name of the SDL gamepad device.
AxisDirection mAxisDirection
Definition SDLAxisDirectionToAnyMapping.h:46
std::string GetPhysicalInputName() override
Returns the human-readable name of the bound axis and direction.
SDL_GameControllerAxis mControllerAxis
Definition SDLAxisDirectionToAnyMapping.h:45
Core namespace for the libultraship engine framework.
Definition gfx_direct3d_common.h:14
AxisDirection
Identifies the sign of an axis value (negative or positive half).
Definition SDLMapping.h:11