code: def main(gamepad=None):
      
      if not gamepad:
          gamepad = inputs.devices.gamepads[0]
  
      # Vibrate left
      gamepad.set_vibration(1, 0, 1000)
  
      time.sleep(2)
  
      # Vibrate right
      gamepad.set_vibration(0, 1, 1000)
      time.sleep(2)
  
      # Vibrate Both
      gamepad.set_vibration(1, 1, 2000)
      time.sleep(2)
docs: Vibrate the gamepad.