11 #include "JoystickTypes.h" 17 class CDriverPrimitive;
static std::string GetPrimitiveName(const CDriverPrimitive &primitive)
Get the localized name of the primitive.
Definition: JoystickTranslator.cpp:158
static const char * TranslateWheelDirection(WHEEL_DIRECTION dir)
Translate a wheel direction to a lower-case string.
Definition: JoystickTranslator.cpp:78
static const char * HatStateToString(HAT_STATE state)
Translate a hat state to a string representation.
Definition: JoystickTranslator.cpp:18
static const char * TranslateAnalogStickDirection(ANALOG_STICK_DIRECTION dir)
Translate an analog stick direction to a lower-case string.
Definition: JoystickTranslator.cpp:45
Joystick translation utilities.
Definition: JoystickTranslator.h:24
Definition: AudioDecoder.h:18
static WHEEL_DIRECTION PositionToWheelDirection(float position)
Get the wheel direction containing the specified position.
Definition: JoystickTranslator.cpp:138
static THROTTLE_DIRECTION PositionToThrottleDirection(float position)
Get the throttle direction containing the specified position.
Definition: JoystickTranslator.cpp:148
Basic driver element associated with input events.
Definition: DriverPrimitive.h:70
static SEMIAXIS_DIRECTION PositionToSemiAxisDirection(float position)
Get the semi-axis direction containing the specified position.
Definition: JoystickTranslator.cpp:128
static const char * TranslateThrottleDirection(THROTTLE_DIRECTION dir)
Translate a throttle direction to a lower-case string.
Definition: JoystickTranslator.cpp:103