コード例 #1
0
ファイル: WpfGamePad.Buttons.cs プロジェクト: Mou-Ikkai/PadOS
 public static void RemoveButtonLeftShoulderDownHandler(DependencyObject d, GamePadEventUi handler) => (d as UIElement)?.RemoveHandler(ButtonLeftShoulderDownEvent, handler);
コード例 #2
0
ファイル: WpfGamePad.Buttons.cs プロジェクト: Mou-Ikkai/PadOS
 public static void AddButtonGuideDownHandler(DependencyObject d, GamePadEventUi handler) => (d as UIElement)?.AddHandler(ButtonGuideDownEvent, handler);
コード例 #3
0
ファイル: WpfGamePad.Buttons.cs プロジェクト: Mou-Ikkai/PadOS
 public static void RemoveButtonGuideUpHandler(DependencyObject d, GamePadEventUi handler) => (d as UIElement)?.RemoveHandler(ButtonGuideUpEvent, handler);
コード例 #4
0
ファイル: WpfGamePad.Buttons.cs プロジェクト: Mou-Ikkai/PadOS
 public static void RemoveThumbRightChangeHandler(DependencyObject d, GamePadEventUi <Vector2> handler) => (d as UIElement)?.RemoveHandler(ThumbRightChangeEvent, handler);
コード例 #5
0
ファイル: WpfGamePad.Buttons.cs プロジェクト: Mou-Ikkai/PadOS
 public static void RemoveTriggerLeftChangeHandler(DependencyObject d, GamePadEventUi <float> handler) => (d as UIElement)?.RemoveHandler(TriggerLeftChangeEvent, handler);
コード例 #6
0
ファイル: WpfGamePad.Buttons.cs プロジェクト: Mou-Ikkai/PadOS
 public static void RemoveDPadDownUpHandler(DependencyObject d, GamePadEventUi handler) => (d as UIElement)?.RemoveHandler(DPadDownUpEvent, handler);
コード例 #7
0
ファイル: WpfGamePad.Buttons.cs プロジェクト: Mou-Ikkai/PadOS
 public static void AddDPadDownDownHandler(DependencyObject d, GamePadEventUi handler) => (d as UIElement)?.AddHandler(DPadDownDownEvent, handler);
コード例 #8
0
ファイル: WpfGamePad.Buttons.cs プロジェクト: Mou-Ikkai/PadOS
 public static void AddThumbLeftChangeHandler(DependencyObject d, GamePadEventUi <Vector2> handler) => (d as UIElement)?.AddHandler(ThumbLeftChangeEvent, handler);
コード例 #9
0
ファイル: WpfGamePad.Buttons.cs プロジェクト: Mou-Ikkai/PadOS
 public static void AddButtonStartUpHandler(DependencyObject d, GamePadEventUi handler) => (d as UIElement)?.AddHandler(ButtonStartUpEvent, handler);
コード例 #10
0
ファイル: WpfGamePad.Buttons.cs プロジェクト: Mou-Ikkai/PadOS
 public static void AddTriggerRightChangeHandler(DependencyObject d, GamePadEventUi <float> handler) => (d as UIElement)?.AddHandler(TriggerRightChangeEvent, handler);