Method SDL.Joystick()->get_axis()
- Method get_axis
floatget_axis(intaxis)- Description
Returns the current position of the given axis.
The returned value is a float between
-1.0and1.0.- Parameter
axis The axis index.
- Returns
The current position of the given axis.
- See also