コード例 #1
0
 public bool IsPressed(MouseButton button) => Buttons.IsPressed(button);
コード例 #2
0
 public bool IsButtonPressed(TabletPenButton button) => PenButtons.IsPressed(button);
コード例 #3
0
 public bool IsButtonPressed(TabletAuxiliaryButton button) => AuxiliaryButtons.IsPressed(button);
コード例 #4
0
 /// <summary>
 /// Whether the provided touch <paramref name="source"/> is active.
 /// </summary>
 /// <param name="source">The touch source to check for.</param>
 public bool IsActive(TouchSource source) => ActiveSources.IsPressed(source);