static extern uint XInputSetState(uint num, ref XInputVibrationState vib);
extern static uint XInputSetState(uint num, ref XInputVibrationState vib);
/// <summary> /// 振動機能の状態を送信します。 /// </summary> /// <param name="state">設定する状態</param> public void SetVibration(XInputVibrationState state) { XInputSetState(Number, ref state); }