示例#1
0
 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
 );
示例#2
0
 public static extern int XInputSetState
 (
     int dwUserIndex, 
     ref XInputVibration pVibration 
 );
示例#3
0
 public static extern int XInputSetState
 (
     int dwUserIndex,
     ref XInputVibration pVibration
 );
示例#4
0
 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
 );
示例#5
0
 public void Vibrate(XInputVibration strength)
 {
     _stopMotorTimerActive = false;
     XInput.XInputSetState(_playerIndex, ref strength);
 }