melonJS
    Preparing search index...

    Function stopGamepadVibration

    • Stop whatever a gamepad is currently playing.

      For cutting a long effect short — the player pausing, or a run ending under a rumble that would otherwise outlive it. A no-op where there is nothing to stop.

      Parameters

      • index: number

        Gamepad index

      Returns void