onGamepadConnect(action: (gamepad: KGamepad )=>void ): void Register an event that runs when a gamepad is connected.paramaction- The function to run when the event is triggered.returnsThe event controller.sincev3000.0groupInput