コード例 #1
0
 /*0 means no vibration, 1 is max*/
 public void Vibrate(float leftVal, float rightVal)
 {
     GamePad.SetVibration(playerIndex_, leftVal, rightVal);
 }
コード例 #2
0
 public void Update()
 {
     old_ = new_;
     new_ = GamePad.GetState(playerIndex_, deadZone_);
 }