Pike v8.0 release 1738

Method SDL.joystick_opened()


Method joystick_opened

int joystick_opened(int device_index)

Description

Determines whether the given joystick device has already been opened.

Parameter device_index

The nth joystick device.

Returns

1 if this device has already been opened, otherwise 0.