/// <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); } }