Bubba-3D
0.9.0
Awesome game engine!
|
Public Types | |
typedef std::function< float(unsigned int)> | valueRetriever |
![]() | |
enum | Button : int { A, B, X, Y, LB, RB, START, BACK, GUIDE, LEFT_THUMBSTICK_PUSH, RIGHT_THUMBSTICK_PUSH } |
enum | Axis : int { LEFT_THUMBSTICK_X, LEFT_THUMBSTICK_Y, RIGHT_THUMBSTICK_X, RIGHT_THUMBSTICK_Y, DPAD_X, DPAD_Y, LT, RT } |
Public Member Functions | |
JoystickTranslation (unsigned int joystickID, bool defaultMapping) | |
unsigned int | getJoystickID () |
float | getAxisValue (Axis axis) |
float | getButtonValue (Button button) |
bool | isDefaultMapping () |
void | addButton (Button, valueRetriever) |
void | addAxis (Axis, valueRetriever) |
![]() | |
virtual float | getButtonValue (Button button)=0 |
Definition at line 24 of file JoystickTranslation.h.