Joystick.isConnected

Check if a joystick is connected. *

class Joystick
static
bool
isConnected
()

Parameters

joystick
Type: uint

Index of the joystick *

Return Value

Type: bool

true if the joystick is connected, false otherwise.

Meta