示例#1
0
 /// <summary>
 /// Raises the ThumbstickMoved event. This is automatically raised by an appropriately configured
 /// GamePadEvents object, but this allows for programmatic raising of events.
 /// </summary>
 public void OnThumbstickMoved(object sender, GamePadThumbstickEventArgs args)
 {
     if (ThumbstickMoved != null)
     {
         ThumbstickMoved(sender, args);
     }
 }
示例#2
0
 /// <summary>
 /// Raises the ThumbstickMoved event. This is automatically raised by an appropriately configured
 /// GamePadEvents object, but this allows for programmatic raising of events.
 /// </summary>
 public void OnThumbstickMoved(object sender, GamePadThumbstickEventArgs args)
 {
     if (ThumbstickMoved != null) { ThumbstickMoved(sender, args); }
 }