Removed in LÖVE 0.8.1
This function is not supported in that and later versions.

Opens up a joystick to be used, i.e. makes it ready to use. By default joysticks that are available at the start of your game will be opened.

NOTE: Unlike conventional Lua indexes, joysticks begin counting from 0. To to open the first joystick, you would use This is being changed to begin from one in the upcoming LOVE 0.8.0 stated [here].



open = joystick )


number joystick
The joystick to be opened


boolean open
True if the joystick has been successfully opened or false on failure.

See Also

Other Languages