textmode.js / Textmodifier / gamepadDisconnected
Method: gamepadDisconnected()
ts
gamepadDisconnected(callback): void;Register the single-callback handler for gamepad disconnection events.
This is a legacy-style single-callback shortcut for the 'gamepadDisconnected' event.
Parameters
| Parameter | Type | Description |
|---|---|---|
callback | GamepadConnectionEventHandler | Handler to run with gamepad connection data when a controller disconnects. |
Returns
void