Method SDL.Joystick()->get_axis() class SDL.Joystick Method get_axis float get_axis(int axis) Description Returns the current position of the given axis. The returned value is a float between -1.0 and 1.0. Parameter axis The axis index. Returns The current position of the given axis. See also num_axes()