Pike v8.1 release 6

Method SDL.Joystick()->create()


Method create

SDL.Joystick SDL.Joystick(int device_index)

Description

Opens the given joystick device for use.

Parameter device_index

The nth joystick device available to the system.

See also

SDL.num_joysticks()