onGamepadDisconnect(action: (gamepad: KGamepad)=>void): void

Register an event that runs when a gamepad is disconnected.

paramaction- The function to run when the event is triggered.

returnsThe event controller.

sincev3000.0

kaplay logo

Misc

Layer