OSDN Git Service

cc71bbb6446ed7b6718a8374fc5b3297196ad556
[dtxmania/dtxmania.git] / 110401(DTXMania089) / SlimDXc_Jun2010(VC++2008) / source / directinput / DrivingGenres.h
1 /*\r
2 * Copyright (c) 2007-2010 SlimDX Group\r
3\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
10\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
13\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
20 * THE SOFTWARE.\r
21 */\r
22 #pragma once\r
23 \r
24 namespace SlimDX\r
25 {\r
26         namespace DirectInput\r
27         {\r
28                 /// <summary>\r
29                 /// Contains action mapping constants for combat racing games.\r
30                 /// </summary>\r
31                 public ref class CombatRacingControls sealed\r
32                 {\r
33                 private:\r
34                         CombatRacingControls() { }\r
35 \r
36                 public:\r
37                         /// <summary>\r
38                         /// Represents the combat racing genre.\r
39                         /// </summary>\r
40                         literal int CombatRacingGenre = DIVIRTUAL_DRIVING_COMBAT;\r
41 \r
42                         /// <summary>\r
43                         /// Represents a "Steer" action.\r
44                         /// </summary>\r
45                         literal int Steer = DIAXIS_DRIVINGC_STEER;\r
46 \r
47                         /// <summary>\r
48                         /// Represents a "Accelerate" action.\r
49                         /// </summary>\r
50                         literal int Accelerate = DIAXIS_DRIVINGC_ACCELERATE;\r
51 \r
52                         /// <summary>\r
53                         /// Represents a "Brake" action.\r
54                         /// </summary>\r
55                         literal int BrakeAxis = DIAXIS_DRIVINGC_BRAKE;\r
56 \r
57                         /// <summary>\r
58                         /// Represents a "Fire" action.\r
59                         /// </summary>\r
60                         literal int Fire = DIBUTTON_DRIVINGC_FIRE;\r
61 \r
62                         /// <summary>\r
63                         /// Represents a "Weapons" action.\r
64                         /// </summary>\r
65                         literal int Weapons = DIBUTTON_DRIVINGC_WEAPONS;\r
66 \r
67                         /// <summary>\r
68                         /// Represents a "Target" action.\r
69                         /// </summary>\r
70                         literal int Target = DIBUTTON_DRIVINGC_TARGET;\r
71 \r
72                         /// <summary>\r
73                         /// Represents a "Menu" action.\r
74                         /// </summary>\r
75                         literal int Menu = DIBUTTON_DRIVINGC_MENU;\r
76 \r
77                         /// <summary>\r
78                         /// Represents a "AccelerateAndBrake" action.\r
79                         /// </summary>\r
80                         literal int AccelerateAndBrake = DIAXIS_DRIVINGC_ACCEL_AND_BRAKE;\r
81 \r
82                         /// <summary>\r
83                         /// Represents a "Glance" action.\r
84                         /// </summary>\r
85                         literal int Glance = DIHATSWITCH_DRIVINGC_GLANCE;\r
86 \r
87                         /// <summary>\r
88                         /// Represents a "ShiftUp" action.\r
89                         /// </summary>\r
90                         literal int ShiftUp = DIBUTTON_DRIVINGC_SHIFTUP;\r
91 \r
92                         /// <summary>\r
93                         /// Represents a "ShiftDown" action.\r
94                         /// </summary>\r
95                         literal int ShiftDown = DIBUTTON_DRIVINGC_SHIFTDOWN;\r
96 \r
97                         /// <summary>\r
98                         /// Represents a "Dashboard" action.\r
99                         /// </summary>\r
100                         literal int Dashboard = DIBUTTON_DRIVINGC_DASHBOARD;\r
101 \r
102                         /// <summary>\r
103                         /// Represents a "Aids" action.\r
104                         /// </summary>\r
105                         literal int Aids = DIBUTTON_DRIVINGC_AIDS;\r
106 \r
107                         /// <summary>\r
108                         /// Represents a "Brake" action.\r
109                         /// </summary>\r
110                         literal int Brake = DIBUTTON_DRIVINGC_BRAKE;\r
111 \r
112                         /// <summary>\r
113                         /// Represents a "FireSecondary" action.\r
114                         /// </summary>\r
115                         literal int FireSecondary = DIBUTTON_DRIVINGC_FIRESECONDARY;\r
116 \r
117                         /// <summary>\r
118                         /// Represents a "Accelerate" link.\r
119                         /// </summary>\r
120                         literal int AccelerateLink = DIBUTTON_DRIVINGC_ACCELERATE_LINK;\r
121 \r
122                         /// <summary>\r
123                         /// Represents a "SteerLeft" link.\r
124                         /// </summary>\r
125                         literal int SteerLeftLink = DIBUTTON_DRIVINGC_STEER_LEFT_LINK;\r
126 \r
127                         /// <summary>\r
128                         /// Represents a "SteerRight" link.\r
129                         /// </summary>\r
130                         literal int SteerRightLink = DIBUTTON_DRIVINGC_STEER_RIGHT_LINK;\r
131 \r
132                         /// <summary>\r
133                         /// Represents a "GlanceLeft" link.\r
134                         /// </summary>\r
135                         literal int GlanceLeftLink = DIBUTTON_DRIVINGC_GLANCE_LEFT_LINK;\r
136 \r
137                         /// <summary>\r
138                         /// Represents a "GlanceRight" link.\r
139                         /// </summary>\r
140                         literal int GlanceRightLink = DIBUTTON_DRIVINGC_GLANCE_RIGHT_LINK;\r
141 \r
142                         /// <summary>\r
143                         /// Represents a "Device" action.\r
144                         /// </summary>\r
145                         literal int Device = DIBUTTON_DRIVINGC_DEVICE;\r
146 \r
147                         /// <summary>\r
148                         /// Represents a "Pause" action.\r
149                         /// </summary>\r
150                         literal int Pause = DIBUTTON_DRIVINGC_PAUSE;\r
151                 };\r
152 \r
153                 /// <summary>\r
154                 /// Contains action mapping constants for mechanical fighting games.\r
155                 /// </summary>\r
156                 public ref class MechanicalFightingControls sealed\r
157                 {\r
158                 private:\r
159                         MechanicalFightingControls() { }\r
160 \r
161                 public:\r
162                         /// <summary>\r
163                         /// Represents the mechanical fighting genre.\r
164                         /// </summary>\r
165                         literal int MechanicalFightingGenre = DIVIRTUAL_DRIVING_MECHA;\r
166 \r
167                         /// <summary>\r
168                         /// Represents a "Steer" action.\r
169                         /// </summary>\r
170                         literal int Steer = DIAXIS_MECHA_STEER;\r
171 \r
172                         /// <summary>\r
173                         /// Represents a "Torso" action.\r
174                         /// </summary>\r
175                         literal int Torso = DIAXIS_MECHA_TORSO;\r
176 \r
177                         /// <summary>\r
178                         /// Represents a "Rotate" action.\r
179                         /// </summary>\r
180                         literal int Rotate = DIAXIS_MECHA_ROTATE;\r
181 \r
182                         /// <summary>\r
183                         /// Represents a "Throttle" action.\r
184                         /// </summary>\r
185                         literal int Throttle = DIAXIS_MECHA_THROTTLE;\r
186 \r
187                         /// <summary>\r
188                         /// Represents a "Fire" action.\r
189                         /// </summary>\r
190                         literal int Fire = DIBUTTON_MECHA_FIRE;\r
191 \r
192                         /// <summary>\r
193                         /// Represents a "Weapons" action.\r
194                         /// </summary>\r
195                         literal int Weapons = DIBUTTON_MECHA_WEAPONS;\r
196 \r
197                         /// <summary>\r
198                         /// Represents a "Target" action.\r
199                         /// </summary>\r
200                         literal int Target = DIBUTTON_MECHA_TARGET;\r
201 \r
202                         /// <summary>\r
203                         /// Represents a "Reverse" action.\r
204                         /// </summary>\r
205                         literal int Reverse = DIBUTTON_MECHA_REVERSE;\r
206 \r
207                         /// <summary>\r
208                         /// Represents a "Zoom" action.\r
209                         /// </summary>\r
210                         literal int Zoom = DIBUTTON_MECHA_ZOOM;\r
211 \r
212                         /// <summary>\r
213                         /// Represents a "Jump" action.\r
214                         /// </summary>\r
215                         literal int Jump = DIBUTTON_MECHA_JUMP;\r
216 \r
217                         /// <summary>\r
218                         /// Represents a "Menu" action.\r
219                         /// </summary>\r
220                         literal int Menu = DIBUTTON_MECHA_MENU;\r
221 \r
222                         /// <summary>\r
223                         /// Represents a "Center" action.\r
224                         /// </summary>\r
225                         literal int Center = DIBUTTON_MECHA_CENTER;\r
226 \r
227                         /// <summary>\r
228                         /// Represents a "Glance" action.\r
229                         /// </summary>\r
230                         literal int Glance = DIHATSWITCH_MECHA_GLANCE;\r
231 \r
232                         /// <summary>\r
233                         /// Represents a "View" action.\r
234                         /// </summary>\r
235                         literal int View = DIBUTTON_MECHA_VIEW;\r
236 \r
237                         /// <summary>\r
238                         /// Represents a "FireSecondary" action.\r
239                         /// </summary>\r
240                         literal int FireSecondary = DIBUTTON_MECHA_FIRESECONDARY;\r
241 \r
242                         /// <summary>\r
243                         /// Represents a "Left" link.\r
244                         /// </summary>\r
245                         literal int LeftLink = DIBUTTON_MECHA_LEFT_LINK;\r
246 \r
247                         /// <summary>\r
248                         /// Represents a "Right" link.\r
249                         /// </summary>\r
250                         literal int RightLink = DIBUTTON_MECHA_RIGHT_LINK;\r
251 \r
252                         /// <summary>\r
253                         /// Represents a "Forward" link.\r
254                         /// </summary>\r
255                         literal int ForwardLink = DIBUTTON_MECHA_FORWARD_LINK;\r
256 \r
257                         /// <summary>\r
258                         /// Represents a "Back" link.\r
259                         /// </summary>\r
260                         literal int BackLink = DIBUTTON_MECHA_BACK_LINK;\r
261 \r
262                         /// <summary>\r
263                         /// Represents a "RotateLeft" link.\r
264                         /// </summary>\r
265                         literal int RotateLeftLink = DIBUTTON_MECHA_ROTATE_LEFT_LINK;\r
266 \r
267                         /// <summary>\r
268                         /// Represents a "RotateRight" link.\r
269                         /// </summary>\r
270                         literal int RotateRightLink = DIBUTTON_MECHA_ROTATE_RIGHT_LINK;\r
271 \r
272                         /// <summary>\r
273                         /// Represents a "Faster" link.\r
274                         /// </summary>\r
275                         literal int FasterLink = DIBUTTON_MECHA_FASTER_LINK;\r
276 \r
277                         /// <summary>\r
278                         /// Represents a "Slower" link.\r
279                         /// </summary>\r
280                         literal int SlowerLink = DIBUTTON_MECHA_SLOWER_LINK;\r
281 \r
282                         /// <summary>\r
283                         /// Represents a "Device" action.\r
284                         /// </summary>\r
285                         literal int Device = DIBUTTON_MECHA_DEVICE;\r
286 \r
287                         /// <summary>\r
288                         /// Represents a "Pause" action.\r
289                         /// </summary>\r
290                         literal int Pause = DIBUTTON_MECHA_PAUSE;\r
291                 };\r
292 \r
293                 /// <summary>\r
294                 /// Contains action mapping constants for racing games.\r
295                 /// </summary>\r
296                 public ref class RacingControls sealed\r
297                 {\r
298                 private:\r
299                         RacingControls() { }\r
300 \r
301                 public:\r
302                         /// <summary>\r
303                         /// Represents the racing genre.\r
304                         /// </summary>\r
305                         literal int RacingGenre = DIVIRTUAL_DRIVING_RACE;\r
306 \r
307                         /// <summary>\r
308                         /// Represents a "Steer" action.\r
309                         /// </summary>\r
310                         literal int Steer = DIAXIS_DRIVINGR_STEER;\r
311 \r
312                         /// <summary>\r
313                         /// Represents a "Accelerate" action.\r
314                         /// </summary>\r
315                         literal int Accelerate = DIAXIS_DRIVINGR_ACCELERATE;\r
316 \r
317                         /// <summary>\r
318                         /// Represents a "Brake" action.\r
319                         /// </summary>\r
320                         literal int BrakeAxis = DIAXIS_DRIVINGR_BRAKE;\r
321 \r
322                         /// <summary>\r
323                         /// Represents a "ShiftUp" action.\r
324                         /// </summary>\r
325                         literal int ShiftUp = DIBUTTON_DRIVINGR_SHIFTUP;\r
326 \r
327                         /// <summary>\r
328                         /// Represents a "ShiftDown" action.\r
329                         /// </summary>\r
330                         literal int ShiftDown = DIBUTTON_DRIVINGR_SHIFTDOWN;\r
331 \r
332                         /// <summary>\r
333                         /// Represents a "View" action.\r
334                         /// </summary>\r
335                         literal int View = DIBUTTON_DRIVINGR_VIEW;\r
336 \r
337                         /// <summary>\r
338                         /// Represents a "Menu" action.\r
339                         /// </summary>\r
340                         literal int Menu = DIBUTTON_DRIVINGR_MENU;\r
341 \r
342                         /// <summary>\r
343                         /// Represents a "AccelerateAndBrake" action.\r
344                         /// </summary>\r
345                         literal int AccelerateAndBrake = DIAXIS_DRIVINGR_ACCEL_AND_BRAKE;\r
346 \r
347                         /// <summary>\r
348                         /// Represents a "Glance" action.\r
349                         /// </summary>\r
350                         literal int Glance = DIHATSWITCH_DRIVINGR_GLANCE;\r
351 \r
352                         /// <summary>\r
353                         /// Represents a "Brake" action.\r
354                         /// </summary>\r
355                         literal int Brake = DIBUTTON_DRIVINGR_BRAKE;\r
356 \r
357                         /// <summary>\r
358                         /// Represents a "Dashboard" action.\r
359                         /// </summary>\r
360                         literal int Dashboard = DIBUTTON_DRIVINGR_DASHBOARD;\r
361 \r
362                         /// <summary>\r
363                         /// Represents a "Aids" action.\r
364                         /// </summary>\r
365                         literal int Aids = DIBUTTON_DRIVINGR_AIDS;\r
366 \r
367                         /// <summary>\r
368                         /// Represents a "Map" action.\r
369                         /// </summary>\r
370                         literal int Map = DIBUTTON_DRIVINGR_MAP;\r
371 \r
372                         /// <summary>\r
373                         /// Represents a "Boost" action.\r
374                         /// </summary>\r
375                         literal int Boost = DIBUTTON_DRIVINGR_BOOST;\r
376 \r
377                         /// <summary>\r
378                         /// Represents a "Pit" action.\r
379                         /// </summary>\r
380                         literal int Pit = DIBUTTON_DRIVINGR_PIT;\r
381 \r
382                         /// <summary>\r
383                         /// Represents a "Accelerate" link.\r
384                         /// </summary>\r
385                         literal int AccelerateLink = DIBUTTON_DRIVINGR_ACCELERATE_LINK;\r
386 \r
387                         /// <summary>\r
388                         /// Represents a "SteerLeft" link.\r
389                         /// </summary>\r
390                         literal int SteerLeftLink = DIBUTTON_DRIVINGR_STEER_LEFT_LINK;\r
391 \r
392                         /// <summary>\r
393                         /// Represents a "SteerRight" link.\r
394                         /// </summary>\r
395                         literal int SteerRightLink = DIBUTTON_DRIVINGR_STEER_RIGHT_LINK;\r
396 \r
397                         /// <summary>\r
398                         /// Represents a "GlanceLeft" link.\r
399                         /// </summary>\r
400                         literal int GlanceLeftLink = DIBUTTON_DRIVINGR_GLANCE_LEFT_LINK;\r
401 \r
402                         /// <summary>\r
403                         /// Represents a "GlanceRight" link.\r
404                         /// </summary>\r
405                         literal int GlanceRightLink = DIBUTTON_DRIVINGR_GLANCE_RIGHT_LINK;\r
406 \r
407                         /// <summary>\r
408                         /// Represents a "Device" action.\r
409                         /// </summary>\r
410                         literal int Device = DIBUTTON_DRIVINGR_DEVICE;\r
411 \r
412                         /// <summary>\r
413                         /// Represents a "Pause" action.\r
414                         /// </summary>\r
415                         literal int Pause = DIBUTTON_DRIVINGR_PAUSE;\r
416                 };\r
417 \r
418                 /// <summary>\r
419                 /// Contains action mapping constants for tank driving games.\r
420                 /// </summary>\r
421                 public ref class TankDrivingControls sealed\r
422                 {\r
423                 private:\r
424                         TankDrivingControls() { }\r
425 \r
426                 public:\r
427                         /// <summary>\r
428                         /// Represents the tank driving genre.\r
429                         /// </summary>\r
430                         literal int TankDrivingGenre = DIVIRTUAL_DRIVING_TANK;\r
431 \r
432                         /// <summary>\r
433                         /// Represents a "Steer" action.\r
434                         /// </summary>\r
435                         literal int Steer = DIAXIS_DRIVINGT_STEER;\r
436 \r
437                         /// <summary>\r
438                         /// Represents a "Barrel" action.\r
439                         /// </summary>\r
440                         literal int Barrel = DIAXIS_DRIVINGT_BARREL;\r
441 \r
442                         /// <summary>\r
443                         /// Represents a "Accelerate" action.\r
444                         /// </summary>\r
445                         literal int Accelerate = DIAXIS_DRIVINGT_ACCELERATE;\r
446 \r
447                         /// <summary>\r
448                         /// Represents a "Rotate" action.\r
449                         /// </summary>\r
450                         literal int Rotate = DIAXIS_DRIVINGT_ROTATE;\r
451 \r
452                         /// <summary>\r
453                         /// Represents a "Fire" action.\r
454                         /// </summary>\r
455                         literal int Fire = DIBUTTON_DRIVINGT_FIRE;\r
456 \r
457                         /// <summary>\r
458                         /// Represents a "Weapons" action.\r
459                         /// </summary>\r
460                         literal int Weapons = DIBUTTON_DRIVINGT_WEAPONS;\r
461 \r
462                         /// <summary>\r
463                         /// Represents a "Target" action.\r
464                         /// </summary>\r
465                         literal int Target = DIBUTTON_DRIVINGT_TARGET;\r
466 \r
467                         /// <summary>\r
468                         /// Represents a "Menu" action.\r
469                         /// </summary>\r
470                         literal int Menu = DIBUTTON_DRIVINGT_MENU;\r
471 \r
472                         /// <summary>\r
473                         /// Represents a "Glance" action.\r
474                         /// </summary>\r
475                         literal int Glance = DIHATSWITCH_DRIVINGT_GLANCE;\r
476 \r
477                         /// <summary>\r
478                         /// Represents a "Brake" action.\r
479                         /// </summary>\r
480                         literal int BrakeAxis = DIAXIS_DRIVINGT_BRAKE;\r
481 \r
482                         /// <summary>\r
483                         /// Represents a "AccelerateAndBrake" action.\r
484                         /// </summary>\r
485                         literal int AccelerateAndBrake = DIAXIS_DRIVINGT_ACCEL_AND_BRAKE;\r
486 \r
487                         /// <summary>\r
488                         /// Represents a "View" action.\r
489                         /// </summary>\r
490                         literal int View = DIBUTTON_DRIVINGT_VIEW;\r
491 \r
492                         /// <summary>\r
493                         /// Represents a "Dashboard" action.\r
494                         /// </summary>\r
495                         literal int Dashboard = DIBUTTON_DRIVINGT_DASHBOARD;\r
496 \r
497                         /// <summary>\r
498                         /// Represents a "Brake" action.\r
499                         /// </summary>\r
500                         literal int Brake = DIBUTTON_DRIVINGT_BRAKE;\r
501 \r
502                         /// <summary>\r
503                         /// Represents a "FireSecondary" action.\r
504                         /// </summary>\r
505                         literal int FireSecondary = DIBUTTON_DRIVINGT_FIRESECONDARY;\r
506 \r
507                         /// <summary>\r
508                         /// Represents a "Accelerate" link.\r
509                         /// </summary>\r
510                         literal int AccelerateLink = DIBUTTON_DRIVINGT_ACCELERATE_LINK;\r
511 \r
512                         /// <summary>\r
513                         /// Represents a "SteerLeft" link.\r
514                         /// </summary>\r
515                         literal int SteerLeftLink = DIBUTTON_DRIVINGT_STEER_LEFT_LINK;\r
516 \r
517                         /// <summary>\r
518                         /// Represents a "SteerRight" link.\r
519                         /// </summary>\r
520                         literal int SteerRightLink = DIBUTTON_DRIVINGT_STEER_RIGHT_LINK;\r
521 \r
522                         /// <summary>\r
523                         /// Represents a "BarrelUp" link.\r
524                         /// </summary>\r
525                         literal int BarrelUpLink = DIBUTTON_DRIVINGT_BARREL_UP_LINK;\r
526 \r
527                         /// <summary>\r
528                         /// Represents a "BarrelDown" link.\r
529                         /// </summary>\r
530                         literal int BarrelDownLink = DIBUTTON_DRIVINGT_BARREL_DOWN_LINK;\r
531 \r
532                         /// <summary>\r
533                         /// Represents a "RotateLeft" link.\r
534                         /// </summary>\r
535                         literal int RotateLeftLink = DIBUTTON_DRIVINGT_ROTATE_LEFT_LINK;\r
536 \r
537                         /// <summary>\r
538                         /// Represents a "RotateRight" link.\r
539                         /// </summary>\r
540                         literal int RotateRightLink = DIBUTTON_DRIVINGT_ROTATE_RIGHT_LINK;\r
541 \r
542                         /// <summary>\r
543                         /// Represents a "GlanceLeft" link.\r
544                         /// </summary>\r
545                         literal int GlanceLeftLink = DIBUTTON_DRIVINGT_GLANCE_LEFT_LINK;\r
546 \r
547                         /// <summary>\r
548                         /// Represents a "GlanceRight" link.\r
549                         /// </summary>\r
550                         literal int GlanceRightLink = DIBUTTON_DRIVINGT_GLANCE_RIGHT_LINK;\r
551 \r
552                         /// <summary>\r
553                         /// Represents a "Device" action.\r
554                         /// </summary>\r
555                         literal int Device = DIBUTTON_DRIVINGT_DEVICE;\r
556 \r
557                         /// <summary>\r
558                         /// Represents a "Pause" action.\r
559                         /// </summary>\r
560                         literal int Pause = DIBUTTON_DRIVINGT_PAUSE;\r
561                 };\r
562         }\r
563 }\r