2 * Copyright (c) 2007-2010 SlimDX Group
\r
4 * Permission is hereby granted, free of charge, to any person obtaining a copy
\r
5 * of this software and associated documentation files (the "Software"), to deal
\r
6 * in the Software without restriction, including without limitation the rights
\r
7 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
\r
8 * copies of the Software, and to permit persons to whom the Software is
\r
9 * furnished to do so, subject to the following conditions:
\r
11 * The above copyright notice and this permission notice shall be included in
\r
12 * all copies or substantial portions of the Software.
\r
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
\r
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
\r
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
\r
17 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
\r
18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
\r
19 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
\r
26 namespace DirectInput
\r
29 /// Contains action mapping constants for 2D objects in CAD.
\r
31 public ref class Objects2DControls sealed
\r
34 Objects2DControls() { }
\r
38 /// Represents the 2D control genre.
\r
40 literal int Objects2DGenre = DIVIRTUAL_CAD_2DCONTROL;
\r
43 /// Represents a "Lateral" action.
\r
45 literal int Lateral = DIAXIS_2DCONTROL_LATERAL;
\r
48 /// Represents a "Move" action.
\r
50 literal int Move = DIAXIS_2DCONTROL_MOVE;
\r
53 /// Represents a "InOut" action.
\r
55 literal int InOut = DIAXIS_2DCONTROL_INOUT;
\r
58 /// Represents a "Select" action.
\r
60 literal int Select = DIBUTTON_2DCONTROL_SELECT;
\r
63 /// Represents a "Special1" action.
\r
65 literal int Special1 = DIBUTTON_2DCONTROL_SPECIAL1;
\r
68 /// Represents a "Special" action.
\r
70 literal int Special = DIBUTTON_2DCONTROL_SPECIAL;
\r
73 /// Represents a "Special2" action.
\r
75 literal int Special2 = DIBUTTON_2DCONTROL_SPECIAL2;
\r
78 /// Represents a "Menu" action.
\r
80 literal int Menu = DIBUTTON_2DCONTROL_MENU;
\r
83 /// Represents a "HatSwitch" action.
\r
85 literal int HatSwitch = DIHATSWITCH_2DCONTROL_HATSWITCH;
\r
88 /// Represents a "RotateZ" action.
\r
90 literal int RotateZ = DIAXIS_2DCONTROL_ROTATEZ;
\r
93 /// Represents a "Display" action.
\r
95 literal int Display = DIBUTTON_2DCONTROL_DISPLAY;
\r
98 /// Represents a "Device" action.
\r
100 literal int Device = DIBUTTON_2DCONTROL_DEVICE;
\r
103 /// Represents a "Pause" action.
\r
105 literal int Pause = DIBUTTON_2DCONTROL_PAUSE;
\r
109 /// Contains action mapping constants for 3D models in CAD.
\r
111 public ref class Models3DControls sealed
\r
114 Models3DControls() { }
\r
118 /// Represents the 3D model genre.
\r
120 literal int Models3DGenre = DIVIRTUAL_CAD_MODEL;
\r
123 /// Represents a "Lateral" action.
\r
125 literal int Lateral = DIAXIS_CADM_LATERAL;
\r
128 /// Represents a "Move" action.
\r
130 literal int Move = DIAXIS_CADM_MOVE;
\r
133 /// Represents a "InOut" action.
\r
135 literal int InOut = DIAXIS_CADM_INOUT;
\r
138 /// Represents a "Select" action.
\r
140 literal int Select = DIBUTTON_CADM_SELECT;
\r
143 /// Represents a "Special1" action.
\r
145 literal int Special1 = DIBUTTON_CADM_SPECIAL1;
\r
148 /// Represents a "Special" action.
\r
150 literal int Special = DIBUTTON_CADM_SPECIAL;
\r
153 /// Represents a "Special2" action.
\r
155 literal int Special2 = DIBUTTON_CADM_SPECIAL2;
\r
158 /// Represents a "Menu" action.
\r
160 literal int Menu = DIBUTTON_CADM_MENU;
\r
163 /// Represents a "HatSwitch" action.
\r
165 literal int HatSwitch = DIHATSWITCH_CADM_HATSWITCH;
\r
168 /// Represents a "RotateX" action.
\r
170 literal int RotateX = DIAXIS_CADM_ROTATEX;
\r
173 /// Represents a "RotateY" action.
\r
175 literal int RotateY = DIAXIS_CADM_ROTATEY;
\r
178 /// Represents a "RotateZ" action.
\r
180 literal int RotateZ = DIAXIS_CADM_ROTATEZ;
\r
183 /// Represents a "Display" action.
\r
185 literal int Display = DIBUTTON_CADM_DISPLAY;
\r
188 /// Represents a "Device" action.
\r
190 literal int Device = DIBUTTON_CADM_DEVICE;
\r
193 /// Represents a "Pause" action.
\r
195 literal int Pause = DIBUTTON_CADM_PAUSE;
\r
199 /// Contains action mapping constants for 3D navigation in CAD.
\r
201 public ref class Navigation3DControls sealed
\r
204 Navigation3DControls() { }
\r
208 /// Represents the 3D navigation genre.
\r
210 literal int Navigation3DGenre = DIVIRTUAL_CAD_FLYBY;
\r
213 /// Represents a "Lateral" action.
\r
215 literal int Lateral = DIAXIS_CADF_LATERAL;
\r
218 /// Represents a "Move" action.
\r
220 literal int Move = DIAXIS_CADF_MOVE;
\r
223 /// Represents a "InOut" action.
\r
225 literal int InOut = DIAXIS_CADF_INOUT;
\r
228 /// Represents a "Select" action.
\r
230 literal int Select = DIBUTTON_CADF_SELECT;
\r
233 /// Represents a "Special1" action.
\r
235 literal int Special1 = DIBUTTON_CADF_SPECIAL1;
\r
238 /// Represents a "Special" action.
\r
240 literal int Special = DIBUTTON_CADF_SPECIAL;
\r
243 /// Represents a "Special2" action.
\r
245 literal int Special2 = DIBUTTON_CADF_SPECIAL2;
\r
248 /// Represents a "Menu" action.
\r
250 literal int Menu = DIBUTTON_CADF_MENU;
\r
253 /// Represents a "HatSwitch" action.
\r
255 literal int HatSwitch = DIHATSWITCH_CADF_HATSWITCH;
\r
258 /// Represents a "RotateX" action.
\r
260 literal int RotateX = DIAXIS_CADF_ROTATEX;
\r
263 /// Represents a "RotateY" action.
\r
265 literal int RotateY = DIAXIS_CADF_ROTATEY;
\r
268 /// Represents a "RotateZ" action.
\r
270 literal int RotateZ = DIAXIS_CADF_ROTATEZ;
\r
273 /// Represents a "Display" action.
\r
275 literal int Display = DIBUTTON_CADF_DISPLAY;
\r
278 /// Represents a "Device" action.
\r
280 literal int Device = DIBUTTON_CADF_DEVICE;
\r
283 /// Represents a "Pause" action.
\r
285 literal int Pause = DIBUTTON_CADF_PAUSE;
\r
289 /// Contains action mapping constants for 3D objects in CAD.
\r
291 public ref class Objects3DControls sealed
\r
294 Objects3DControls() { }
\r
298 /// Represents the 3D control genre.
\r
300 literal int Objects3DGenre = DIVIRTUAL_CAD_3DCONTROL;
\r
303 /// Represents a "Lateral" action.
\r
305 literal int Lateral = DIAXIS_3DCONTROL_LATERAL;
\r
308 /// Represents a "Move" action.
\r
310 literal int Move = DIAXIS_3DCONTROL_MOVE;
\r
313 /// Represents a "InOut" action.
\r
315 literal int InOut = DIAXIS_3DCONTROL_INOUT;
\r
318 /// Represents a "Select" action.
\r
320 literal int Select = DIBUTTON_3DCONTROL_SELECT;
\r
323 /// Represents a "Special1" action.
\r
325 literal int Special1 = DIBUTTON_3DCONTROL_SPECIAL1;
\r
328 /// Represents a "Special" action.
\r
330 literal int Special = DIBUTTON_3DCONTROL_SPECIAL;
\r
333 /// Represents a "Special2" action.
\r
335 literal int Special2 = DIBUTTON_3DCONTROL_SPECIAL2;
\r
338 /// Represents a "Menu" action.
\r
340 literal int Menu = DIBUTTON_3DCONTROL_MENU;
\r
343 /// Represents a "HatSwitch" action.
\r
345 literal int HatSwitch = DIHATSWITCH_3DCONTROL_HATSWITCH;
\r
348 /// Represents a "RotateX" action.
\r
350 literal int RotateX = DIAXIS_3DCONTROL_ROTATEX;
\r
353 /// Represents a "RotateY" action.
\r
355 literal int RotateY = DIAXIS_3DCONTROL_ROTATEY;
\r
358 /// Represents a "RotateZ" action.
\r
360 literal int RotateZ = DIAXIS_3DCONTROL_ROTATEZ;
\r
363 /// Represents a "Display" action.
\r
365 literal int Display = DIBUTTON_3DCONTROL_DISPLAY;
\r
368 /// Represents a "Device" action.
\r
370 literal int Device = DIBUTTON_3DCONTROL_DEVICE;
\r
373 /// Represents a "Pause" action.
\r
375 literal int Pause = DIBUTTON_3DCONTROL_PAUSE;
\r