Function
onGamepadDisconnect
(action: (gamepad: KGamepad) => void): voidRegister an event that runs when a gamepad is disconnected.
param action- The function to run when the event is triggered.
returns The event controller.
since v3000.0
group Input