PageRenderTime 102ms CodeModel.GetById 40ms app.highlight 2ms RepoModel.GetById 58ms app.codeStats 0ms

/InputSystem/Tests/Program.cs

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