chickadee » sdl2 » joystick-get-axis-initial-state

joystick-get-axis-initial-state joy axisprocedure

See SDL_JoystickGetAxisInitialState.

This procedure returns multiple values:

state
Integer value of the initial state.
has-initial
Boolean indicating whether the joystick axis has an initial state.

Requires SDL 2.0.6 or higher, and sdl2 egg 0.4.0 or higher.