PageRenderTime 48ms CodeModel.GetById 21ms RepoModel.GetById 1ms app.codeStats 0ms

/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
  1. using System;
  2. namespace Delta.InputSystem.Tests
  3. {
  4. /// <summary>
  5. /// Tests for the input system, use the Settings.xml to specific which
  6. /// module you want to use (Xna, Windows, etc.)
  7. /// Note please: Add more methods as tutorials. otherwise call the test
  8. /// units straight from the Main function
  9. /// </summary>
  10. internal class Program
  11. {
  12. #region Main (Static)
  13. /// <summary>
  14. /// Main entry point, will just call one of the tests, uncomment the rest
  15. /// </summary>
  16. [STAThread]
  17. public static void Main()
  18. {
  19. #region GamePad
  20. //GamePadTests.CheckGamePadStatesAndPosition();
  21. //GamePadTests.CheckMultipleGamePads();
  22. //GamePadTests.CheckRummble();
  23. #endregion
  24. #region Keyboard
  25. //KeyboardTests.CheckKeyboardStates();
  26. //KeyboardTests.TestVirtualKeyboardCursorPosition();
  27. //KeyboardTests.TestGlobalKeyboardEvents();
  28. //KeyboardTests.TestCtrlAltShift();
  29. //KeyboardTests.TestTextboxHandleInput();
  30. //KeyboardTests.ShowOnScreenKeyboard();
  31. //KeyboardTests.ResearchStartOSK();
  32. #endregion
  33. #region Mouse
  34. //MouseTests.MouseStates();
  35. //MouseTests.VeryLowFrameRateMouse();
  36. //MouseTests.HighFpsMouseUpdating();
  37. //MouseTests.ShowAndHideMouseCursor();
  38. #endregion
  39. #region MultipleMice
  40. //MultiMice.TestMultipleMice();
  41. //MultiMice.TestSeveralMiceInput();
  42. #endregion
  43. #region Touch
  44. //TouchTests.CheckTouchData();
  45. //TouchTests.AllTouchInputButtons();
  46. //TouchTests.CheckTouchData();
  47. //TouchTests.MultiTouch();
  48. //TouchTests.TouchGestures();
  49. //TouchTests.TouchLineDrawing();
  50. #endregion
  51. #region Gestures
  52. //GestureTests.GestuerDrag();
  53. //GestureTests.GestureFlick();
  54. //GestureTests.AllGestures();
  55. #endregion
  56. #region Accelerometer
  57. //AccelerometerTests.CheckAccelerometerStates();
  58. //AccelerometerTests.AccelerometerMiniGame();
  59. #endregion
  60. #region Commands
  61. //CommandTests.EnableCommand();
  62. //CommandTests.DisableCommand();
  63. //CommandTests.DraggingCommand();
  64. //CommandTests.CommandClickTest();
  65. //CommandTests.GamePadStateCheck();
  66. //CommandTests.KeyboardCommandTests();
  67. //CommandTests.PressedStateCommand();
  68. //CommandTests.CommandTriggerInterval();
  69. //CommandTests.MouseWheelCommand();
  70. #endregion
  71. #region WiiMote
  72. //WiiMote.CheckWiiMoteStates();
  73. //WiiMote.CheckRummble();
  74. #endregion
  75. #region Tutorials
  76. //Tutorials.KeyboardStatus();
  77. //Tutorials.MouseStatus();
  78. Tutorials.ClickCommand();
  79. //Tutorials.DragCommand();
  80. //Tutorials.TriggersIntervals();
  81. #endregion
  82. }
  83. #endregion
  84. }
  85. }