Exemplo n.º 1
0
 /// <summary>
 /// Raises the ButtonUp event. This is automatically raised by an appropriately configured
 /// GamePadEvents object, but this allows for programmatic raising of events.
 /// </summary>
 public void OnButtonUp(object sender, GamePadButtonEventArgs args)
 {
     if (ButtonUp != null)
     {
         ButtonUp(sender, args);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Raises the ButtonUp event. This is automatically raised by an appropriately configured
 /// GamePadEvents object, but this allows for programmatic raising of events.
 /// </summary>
 public void OnButtonUp(object sender, GamePadButtonEventArgs args)
 {
     if (ButtonUp != null) { ButtonUp(sender, args); }
 }