|
Bubba-3D
0.9.0
Awesome game engine!
|
Public Types | |
| typedef std::function< float(unsigned int)> | valueRetriever |
Public Types inherited from IJoystickTranslation | |
| 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) |
Public Member Functions inherited from IJoystickTranslation | |
| virtual float | getButtonValue (Button button)=0 |
Definition at line 24 of file JoystickTranslation.h.
1.8.11