This documentation is archived and is not being maintained.
connected property
Indicates whether the gamepad device is connected.
This property is read-only.
Syntax
var bIsConnected = gamepad.connected;
Property values
Type: boolean
| Value | Condition |
- true
|
The gamepad devices is connected and available.
|
- false
|
The gamepad devices is not connected or available.
|
See also
-
gamepad