/InputSystem/Tests/Program.cs
C# | 95 lines | 34 code | 10 blank | 51 comment | 0 complexity | 93487036e7f5b0e2d4ab704e2e0a8a6b MD5 | raw file
Possible License(s): Apache-2.0
- using System;
-
- namespace Delta.InputSystem.Tests
- {
- /// <summary>
- /// Tests for the input system, use the Settings.xml to specific which
- /// module you want to use (Xna, Windows, etc.)
- /// Note please: Add more methods as tutorials. otherwise call the test
- /// units straight from the Main function
- /// </summary>
- internal class Program
- {
- #region Main (Static)
- /// <summary>
- /// Main entry point, will just call one of the tests, uncomment the rest
- /// </summary>
- [STAThread]
- public static void Main()
- {
- #region GamePad
- //GamePadTests.CheckGamePadStatesAndPosition();
- //GamePadTests.CheckMultipleGamePads();
- //GamePadTests.CheckRummble();
- #endregion
-
- #region Keyboard
- //KeyboardTests.CheckKeyboardStates();
- //KeyboardTests.TestVirtualKeyboardCursorPosition();
- //KeyboardTests.TestGlobalKeyboardEvents();
- //KeyboardTests.TestCtrlAltShift();
- //KeyboardTests.TestTextboxHandleInput();
- //KeyboardTests.ShowOnScreenKeyboard();
- //KeyboardTests.ResearchStartOSK();
- #endregion
-
- #region Mouse
- //MouseTests.MouseStates();
- //MouseTests.VeryLowFrameRateMouse();
- //MouseTests.HighFpsMouseUpdating();
- //MouseTests.ShowAndHideMouseCursor();
- #endregion
-
- #region MultipleMice
- //MultiMice.TestMultipleMice();
- //MultiMice.TestSeveralMiceInput();
- #endregion
-
- #region Touch
- //TouchTests.CheckTouchData();
- //TouchTests.AllTouchInputButtons();
- //TouchTests.CheckTouchData();
- //TouchTests.MultiTouch();
- //TouchTests.TouchGestures();
- //TouchTests.TouchLineDrawing();
- #endregion
-
- #region Gestures
- //GestureTests.GestuerDrag();
- //GestureTests.GestureFlick();
- //GestureTests.AllGestures();
- #endregion
-
- #region Accelerometer
- //AccelerometerTests.CheckAccelerometerStates();
- //AccelerometerTests.AccelerometerMiniGame();
- #endregion
-
- #region Commands
- //CommandTests.EnableCommand();
- //CommandTests.DisableCommand();
- //CommandTests.DraggingCommand();
- //CommandTests.CommandClickTest();
- //CommandTests.GamePadStateCheck();
- //CommandTests.KeyboardCommandTests();
- //CommandTests.PressedStateCommand();
- //CommandTests.CommandTriggerInterval();
- //CommandTests.MouseWheelCommand();
- #endregion
-
- #region WiiMote
- //WiiMote.CheckWiiMoteStates();
- //WiiMote.CheckRummble();
- #endregion
-
- #region Tutorials
- //Tutorials.KeyboardStatus();
- //Tutorials.MouseStatus();
- Tutorials.ClickCommand();
- //Tutorials.DragCommand();
- //Tutorials.TriggersIntervals();
- #endregion
- }
- #endregion
- }
- }