public static void RemoveButtonLeftShoulderDownHandler(DependencyObject d, GamePadEventUi handler) => (d as UIElement)?.RemoveHandler(ButtonLeftShoulderDownEvent, handler);
public static void AddButtonGuideDownHandler(DependencyObject d, GamePadEventUi handler) => (d as UIElement)?.AddHandler(ButtonGuideDownEvent, handler);
public static void RemoveButtonGuideUpHandler(DependencyObject d, GamePadEventUi handler) => (d as UIElement)?.RemoveHandler(ButtonGuideUpEvent, handler);
public static void RemoveThumbRightChangeHandler(DependencyObject d, GamePadEventUi <Vector2> handler) => (d as UIElement)?.RemoveHandler(ThumbRightChangeEvent, handler);
public static void RemoveTriggerLeftChangeHandler(DependencyObject d, GamePadEventUi <float> handler) => (d as UIElement)?.RemoveHandler(TriggerLeftChangeEvent, handler);
public static void RemoveDPadDownUpHandler(DependencyObject d, GamePadEventUi handler) => (d as UIElement)?.RemoveHandler(DPadDownUpEvent, handler);
public static void AddDPadDownDownHandler(DependencyObject d, GamePadEventUi handler) => (d as UIElement)?.AddHandler(DPadDownDownEvent, handler);
public static void AddThumbLeftChangeHandler(DependencyObject d, GamePadEventUi <Vector2> handler) => (d as UIElement)?.AddHandler(ThumbLeftChangeEvent, handler);
public static void AddButtonStartUpHandler(DependencyObject d, GamePadEventUi handler) => (d as UIElement)?.AddHandler(ButtonStartUpEvent, handler);
public static void AddTriggerRightChangeHandler(DependencyObject d, GamePadEventUi <float> handler) => (d as UIElement)?.AddHandler(TriggerRightChangeEvent, handler);