Beispiel #1
0
 public static bool WasMouseButtonDowned(MouseButton button) => InputTracker.LockMouse ? InputTracker.WasMouseButtonDowned(button) : false;
Beispiel #2
0
 public static bool WasKeyDowned(Key key) => InputTracker.LockMouse ? InputTracker.WasKeyDowned(key) : false;
Beispiel #3
0
 public static bool IsMouseButtonPressed(MouseButton button) => InputTracker.LockMouse ? InputTracker.IsMouseButtonPressed(button) : false;
Beispiel #4
0
 public static bool IsKeyPressed(Key key) => InputTracker.LockMouse ? InputTracker.IsKeyPressed(key) : false;