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