InitJoystick()

Syntax

Result = InitJoystick()
Description
Initialize the joystick environment for later use. This function must be called before any other functions within this library.

Return value

Returns the number of joysticks available for use.

Remarks

This function can be called on regular basis to detect if new joystick have been connected.

See Also

ExamineJoystick()

Supported OS

All

<- ExamineJoystick() - Joystick Index - JoystickAxisX() ->