DRAFT |
SDL_JoystickGetAxis
Use this function to get the current state of an axis control on a joystick.
Contents
Syntax
Sint16 SDL_JoystickGetAxis(SDL_Joystick* joystick,
int axis)
Function Parameters
joystick |
a pointer to a structure containing joystick information ??? |
axis |
the axis indices; starts at index 0 |
Return Value
The state is a value ranging from -32768 to 32767. green
Code Examples
You can add your code example here
Remarks
You can add useful comments here
