public static extern int XInputSetState(
     int dwUserIndex,  // [in] Index of the gamer associated with the device
     ref XInputVibration pVibration    // [in, out] The vibration information to send to the controller
 );
 public static void SetState(PlayerIndex playerIndex, double leftMotor, double rightMotor)
 {
     XInputVibration vibration = new XInputVibration() { LeftMotorSpeed = (ushort)(65535d * leftMotor), RightMotorSpeed = (ushort)(65535d * rightMotor) };
     Imports.XInputSetState((int)playerIndex, ref vibration);
 }