|Available since LÖVE 0.5.0 and removed in LÖVE 0.9.0|
|This function is not supported in earlier or 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.
|Unlike conventional Lua indexes, joysticks begin counting from 0 in LÖVE 0.7.2 and below. To to open the first joystick, you would use love.joystick.open(0). This is not the case in LÖVE 0.8.0 and later.|
open = love.joystick.open( joystick )
- The joystick to be opened
- True if the joystick has been successfully opened or false on failure.
Tiếng Việt –