Example #1
0
 public void stopVibration()
 {
     _isVibrating       = false;
     _vibrationStrength = 0;
     GamePad.SetVibration(_playerIndex, 0, 0);
 }
Example #2
0
 public void startVibration(float strength)
 {
     _isVibrating       = true;
     _vibrationStrength = strength;
     GamePad.SetVibration(_playerIndex, strength, strength);
 }