Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2473 lines
99 KiB

  1. //GUID_FILEEFFECT is used to establish a effect file version
  2. //beta file format different from final, so have different GUID
  3. DEFINE_GUID(GUID_INTERNALFILEEFFECTBETA,0X981DC402, 0X880, 0X11D3, 0X8F, 0XB2, 0X0, 0XC0, 0X4F, 0X8E, 0XC6, 0X27);
  4. //final for DX7 {197E775C-34BA-11d3-ABD5-00C04F8EC627}
  5. DEFINE_GUID(GUID_INTERNALFILEEFFECT, 0x197e775c, 0x34ba, 0x11d3, 0xab, 0xd5, 0x0, 0xc0, 0x4f, 0x8e, 0xc6, 0x27);
  6. #if DIRECTINPUT_VERSION <= 0x0300
  7. /*
  8. * Old GUIDs from DX3 that were never used but which we can't recycle
  9. * because we shipped them.
  10. */
  11. DEFINE_GUID(GUID_RAxis, 0xA36D02E3,0xC9F3,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00);
  12. DEFINE_GUID(GUID_UAxis, 0xA36D02E4,0xC9F3,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00);
  13. DEFINE_GUID(GUID_VAxis, 0xA36D02E5,0xC9F3,0x11CF,0xBF,0xC7,0x44,0x45,0x53,0x54,0x00,0x00);
  14. #endif
  15. #define DIEFT_PREDEFMIN 0x00000001
  16. #define DIEFT_PREDEFMAX 0x00000005
  17. //#define DIEFT_PREDEFMAX 0x00000006
  18. #define DIEFT_TYPEMASK 0x000000FF
  19. #define DIEFT_FORCEFEEDBACK 0x00000100
  20. #define DIEFT_VALIDFLAGS 0x0000FE00
  21. #define DIEFT_ENUMVALID 0x040000FF
  22. /*
  23. * Name for the latest structures, in places where we specifically care.
  24. */
  25. #if (DIRECTINPUT_VERSION >= 900)
  26. typedef DIEFFECT DIEFFECT_DX9;
  27. typedef DIEFFECT *LPDIEFFECT_DX9;
  28. #else
  29. typedef DIEFFECT DIEFFECT_DX6;
  30. typedef DIEFFECT *LPDIEFFECT_DX6;
  31. #endif
  32. BOOL static __inline
  33. IsValidSizeDIEFFECT(DWORD cb)
  34. {
  35. return cb == sizeof(DIEFFECT_DX6)
  36. || cb == sizeof(DIEFFECT_DX5);
  37. }
  38. #define DIEFFECT_MAXAXES 32
  39. #define DIEFF_OBJECTMASK 0x00000003
  40. #define DIEFF_ANGULAR 0x00000060
  41. #define DIEFF_COORDMASK 0x00000070
  42. #define DIEFF_REGIONANGULAR 0x00006000
  43. #define DIEFF_REGIONCOORDMASK 0x00007000
  44. #define DIEFF_VALID 0x00000073
  45. #define DIEP_GETVALID_DX5 0x000001FF
  46. #define DIEP_SETVALID_DX5 0xE00001FF
  47. #define DIEP_GETVALID 0x000003FF
  48. #define DIEP_SETVALID 0xE00003FF
  49. #define DIEP_USESOBJECTS 0x00000028
  50. #define DIEP_USESCOORDS 0x00000040
  51. #define DIES_VALID 0x80000001
  52. #define DIES_DRIVER 0x00000001
  53. #define DIDEVTYPE_MAX 5
  54. #define DI8DEVCLASS_MAX 5
  55. #define DI8DEVTYPE_MIN 0x11
  56. #define DI8DEVTYPE_GAMEMIN 0x14
  57. #define DI8DEVTYPE_GAMEMAX 0x19
  58. #define DI8DEVTYPE_MAX 0x1D
  59. #define DIDEVTYPE_TYPEMASK 0x000000FF
  60. #define DIDEVTYPE_SUBTYPEMASK 0x0000FF00
  61. #define DIDEVTYPE_ENUMMASK 0xFFFFFF00
  62. #define DIDEVTYPE_ENUMVALID 0x00010000
  63. #define DIDEVTYPE_RANDOM 0x80000000
  64. #define DI8DEVTYPEMOUSE_MIN 1
  65. #define DI8DEVTYPEMOUSE_MAX 7
  66. #define DI8DEVTYPEMOUSE_MIN_BUTTONS 0
  67. #define DI8DEVTYPEMOUSE_MIN_CAPS 0
  68. #define DI8DEVTYPEKEYBOARD_MIN 0
  69. #define DI8DEVTYPEKEYBOARD_MAX 13
  70. #define DI8DEVTYPEKEYBOARD_MIN_BUTTONS 0
  71. #define DI8DEVTYPEKEYBOARD_MIN_CAPS 0
  72. #define DI8DEVTYPEJOYSTICK_MIN DI8DEVTYPE_LIMITEDGAMESUBTYPE
  73. #define DI8DEVTYPEJOYSTICK_MAX 3
  74. #define DI8DEVTYPEJOYSTICK_MIN_BUTTONS 5
  75. #define DI8DEVTYPEJOYSTICK_MIN_CAPS ( JOY_HWS_HASPOV | JOY_HWS_HASZ )
  76. #define DI8DEVTYPEGAMEPAD_MIN DI8DEVTYPE_LIMITEDGAMESUBTYPE
  77. #define DI8DEVTYPEGAMEPAD_MAX 5
  78. #define DI8DEVTYPEGAMEPAD_MIN_BUTTONS 6
  79. #define DI8DEVTYPEGAMEPAD_MIN_CAPS 0
  80. #define DI8DEVTYPEDRIVING_MIN DI8DEVTYPE_LIMITEDGAMESUBTYPE
  81. #define DI8DEVTYPEDRIVING_MAX 6
  82. #define DI8DEVTYPEDRIVING_MIN_BUTTONS 4
  83. #define DI8DEVTYPEDRIVING_MIN_CAPS 0
  84. #define DI8DEVTYPEFLIGHT_MIN DI8DEVTYPE_LIMITEDGAMESUBTYPE
  85. #define DI8DEVTYPEFLIGHT_MAX 5
  86. #define DI8DEVTYPEFLIGHT_MIN_BUTTONS 4
  87. #define DI8DEVTYPEFLIGHT_MIN_CAPS ( JOY_HWS_HASPOV | JOY_HWS_HASZ )
  88. #define DI8DEVTYPE1STPERSON_MIN DI8DEVTYPE_LIMITEDGAMESUBTYPE
  89. #define DI8DEVTYPE1STPERSON_MAX 5
  90. #define DI8DEVTYPE1STPERSON_MIN_BUTTONS 4
  91. #define DI8DEVTYPE1STPERSON_MIN_CAPS 0
  92. #define DI8DEVTYPESCREENPTR_MIN 2
  93. #define DI8DEVTYPESCREENPTR_MAX 6
  94. #define DI8DEVTYPESCREENPTR_MIN_BUTTONS 0
  95. #define DI8DEVTYPESCREENPTR_MIN_CAPS 0
  96. #define DI8DEVTYPEREMOTE_MIN 2
  97. #define DI8DEVTYPEREMOTE_MAX 3
  98. #define DI8DEVTYPEREMOTE_MIN_BUTTONS 0
  99. #define DI8DEVTYPEREMOTE_MIN_CAPS 0
  100. #define DI8DEVTYPEDEVICECTRL_MIN 2
  101. #define DI8DEVTYPEDEVICECTRL_MAX 5
  102. #define DI8DEVTYPEDEVICECTRL_MIN_BUTTONS 0
  103. #define DI8DEVTYPEDEVICECTRL_MIN_CAPS 0
  104. #define DI8DEVTYPESUPPLEMENTAL_MIN 2
  105. #define DI8DEVTYPESUPPLEMENTAL_MAX 14
  106. #define DI8DEVTYPESUPPLEMENTAL_MIN_BUTTONS 0
  107. #define DI8DEVTYPESUPPLEMENTAL_MIN_CAPS 0
  108. #define MAKE_DIDEVICE_TYPE(maj, min) MAKEWORD(maj, min) //
  109. #define GET_DIDEVICE_TYPEANDSUBTYPE(dwDevType) LOWORD(dwDevType) //
  110. /*
  111. * Name for the 5.0 structure, in places where we specifically care.
  112. */
  113. typedef DIDEVCAPS DIDEVCAPS_DX5;
  114. typedef DIDEVCAPS *LPDIDEVCAPS_DX5;
  115. BOOL static __inline
  116. IsValidSizeDIDEVCAPS(DWORD cb)
  117. {
  118. return cb == sizeof(DIDEVCAPS_DX5) ||
  119. cb == sizeof(DIDEVCAPS_DX3);
  120. }
  121. /* Force feedback bits live in the high byte, to keep them together */
  122. #define DIDC_FFFLAGS 0x0000FF00
  123. /*
  124. * Flags in the upper word mark devices normally excluded from enumeration.
  125. * To force enumeration of the device, you must pass the appropriate
  126. * DIEDFL_* flag.
  127. */
  128. #define DIDC_EXCLUDEMASK 0x00FF0000
  129. #define DIDC_RANDOM 0x80000000 //
  130. #define DIDFT_RESERVEDTYPES 0x00000020 //
  131. //
  132. #define DIDFT_DWORDOBJS 0x00000013 //
  133. #define DIDFT_BYTEOBJS 0x0000000C //
  134. #define DIDFT_CONTROLOBJS 0x0000001F //
  135. #define DIDFT_ALLOBJS_DX3 0x0000001F //
  136. #define DIDFT_ALLOBJS 0x000000DF //
  137. #define DIDFT_TYPEMASK 0x000000FF
  138. #define DIDFT_TYPEVALID DIDFT_TYPEMASK //
  139. #define DIDFT_FINDMASK 0x00FFFFFF //
  140. #define DIDFT_FINDMATCH(n,m) ((((n)^(m)) & DIDFT_FINDMASK) == 0)
  141. //
  142. /* //
  143. * DIDFT_OPTIONAL means that the //
  144. * SetDataFormat should ignore the //
  145. * field if the device does not //
  146. * support the object. //
  147. */ //
  148. #define DIDFT_OPTIONAL 0x80000000 //
  149. #define DIDFT_BESTFIT 0x40000000 //
  150. #define DIDFT_RANDOM 0x20000000 //
  151. #define DIDFT_ATTRVALID 0x1f000000
  152. #if 0 // Disable the next line if building 5a
  153. #endif
  154. #define DIDFT_ATTRMASK 0xFF000000
  155. #define DIDFT_ALIASATTRMASK 0x0C000000
  156. #define DIDFT_GETATTR(n) ((DWORD)(n) >> 24)
  157. #define DIDFT_MAKEATTR(n) ((BYTE)(n) << 24)
  158. #define DIDFT_GETCOLLECTION(n) LOWORD((n) >> 8)
  159. #define DIDFT_ENUMVALID \
  160. (DIDFT_ATTRVALID | DIDFT_ANYINSTANCE | DIDFT_ALLOBJS)
  161. #define DIDF_VALID 0x00000003 //
  162. #define DIA_VALID 0x0000001F
  163. #define DIAH_OTHERAPP 0x00000010
  164. #define DIAH_MAPMASK 0x0000003F
  165. #define DIAH_VALID 0x8000003F
  166. #define DIDBAM_VALID 0x00000007
  167. #define DIDSAM_VALID 0x00000003
  168. #define DICD_VALID 0x00000001
  169. #define DIDIFTT_VALID 0x00000003
  170. /*#define DIDIFT_DELETE 0x01000000 defined in dinput.w*/
  171. #define DIDIFT_VALID ( DIDIFTT_VALID)
  172. #define DIDAL_VALID 0x0000000F //
  173. #define HAVE_DIDEVICEOBJECTINSTANCE_DX5
  174. typedef DIDEVICEOBJECTINSTANCEA DIDEVICEOBJECTINSTANCE_DX5A;
  175. typedef DIDEVICEOBJECTINSTANCEW DIDEVICEOBJECTINSTANCE_DX5W;
  176. typedef DIDEVICEOBJECTINSTANCE DIDEVICEOBJECTINSTANCE_DX5;
  177. typedef DIDEVICEOBJECTINSTANCEA *LPDIDEVICEOBJECTINSTANCE_DX5A;
  178. typedef DIDEVICEOBJECTINSTANCEW *LPDIDEVICEOBJECTINSTANCE_DX5W;
  179. typedef DIDEVICEOBJECTINSTANCE *LPDIDEVICEOBJECTINSTANCE_DX5;
  180. typedef const DIDEVICEOBJECTINSTANCEA *LPCDIDEVICEOBJECTINSTANCE_DX5A;
  181. typedef const DIDEVICEOBJECTINSTANCEW *LPCDIDEVICEOBJECTINSTANCE_DX5W;
  182. typedef const DIDEVICEOBJECTINSTANCE *LPCDIDEVICEOBJECTINSTANCE_DX5;
  183. BOOL static __inline
  184. IsValidSizeDIDEVICEOBJECTINSTANCEW(DWORD cb)
  185. {
  186. return cb == sizeof(DIDEVICEOBJECTINSTANCE_DX5W) ||
  187. cb == sizeof(DIDEVICEOBJECTINSTANCE_DX3W);
  188. }
  189. BOOL static __inline
  190. IsValidSizeDIDEVICEOBJECTINSTANCEA(DWORD cb)
  191. {
  192. return cb == sizeof(DIDEVICEOBJECTINSTANCE_DX5A) ||
  193. cb == sizeof(DIDEVICEOBJECTINSTANCE_DX3A);
  194. }
  195. #define DIDOI_NOTINPUT 0x80000000
  196. #define DIDOI_ASPECTUNKNOWN 0x00000000
  197. #define DIDOI_RANDOM 0x80000000
  198. typedef struct DIIMAGELABEL {
  199. RECT MaxStringExtent;
  200. DWORD dwFlags;
  201. POINT Line[10];
  202. DWORD dwLineCount;
  203. WCHAR wsz[MAX_PATH];
  204. } DIIMAGELABEL, *LPDIIMAGELABEL;
  205. typedef const DIIMAGELABEL *LPCDIIMAGELABEL;
  206. #if(DIRECTINPUT_VERSION >= 0x0800)
  207. typedef struct DIPROPGUID {
  208. DIPROPHEADER diph;
  209. GUID guid;
  210. } DIPROPGUID, *LPDIPROPGUID;
  211. typedef const DIPROPGUID *LPCDIPROPGUID;
  212. #endif /* DIRECTINPUT_VERSION >= 0x0800 */
  213. #if(DIRECTINPUT_VERSION >= 0x0800)
  214. typedef struct DIPROPFILETIME {
  215. DIPROPHEADER diph;
  216. FILETIME time;
  217. } DIPROPFILETIME, *LPDIPROPFILETIME;
  218. typedef const DIPROPFILETIME *LPCDIPROPFILETIME;
  219. #endif /* DIRECTINPUT_VERSION >= 0x0800 */
  220. #define DIPROPAXISMODE_VALID 1 //
  221. #define ISVALIDGAIN(n) (HIWORD(n) == 0)
  222. #define DIPROPAUTOCENTER_VALID 1
  223. #define DIPROPCALIBRATIONMODE_VALID 1
  224. #define DIPROP_ENABLEREPORTID MAKEDIPROP(0xFFFB)
  225. // now unused, may be replaced DIPROP_IMAGEFILE MAKEDIPROP(0xFFFC)
  226. #define DIPROP_MAPFILE MAKEDIPROP(0xFFFD)//
  227. #define DIPROP_SPECIFICCALIBRATION MAKEDIPROP(0xFFFE)//
  228. #define DIPROP_MAXBUFFERSIZE MAKEDIPROP(0xFFFF) //
  229. #define DEVICE_MAXBUFFERSIZE 1023 //
  230. #define DIGDD_RESIDUAL 0x00000002 //
  231. #define DIGDD_VALID 0x00000003 //
  232. #define DISCL_EXCLMASK 0x00000003 //
  233. #define DISCL_GROUNDMASK 0x0000000C //
  234. #define DISCL_VALID 0x0000001F //
  235. /*
  236. * Name for the 5.0 structure, in places where we specifically care.
  237. */
  238. typedef DIDEVICEINSTANCEA DIDEVICEINSTANCE_DX5A;
  239. /*
  240. * Name for the 5.0 structure, in places where we specifically care.
  241. */
  242. typedef DIDEVICEINSTANCEW DIDEVICEINSTANCE_DX5W;
  243. #ifdef UNICODE
  244. typedef DIDEVICEINSTANCEW DIDEVICEINSTANCE;
  245. typedef DIDEVICEINSTANCE_DX5W DIDEVICEINSTANCE_DX5;
  246. #else
  247. typedef DIDEVICEINSTANCEA DIDEVICEINSTANCE;
  248. typedef DIDEVICEINSTANCE_DX5A DIDEVICEINSTANCE_DX5;
  249. #endif // UNICODE
  250. typedef DIDEVICEINSTANCE DIDEVICEINSTANCE_DX5;
  251. typedef DIDEVICEINSTANCEA *LPDIDEVICEINSTANCE_DX5A;
  252. typedef DIDEVICEINSTANCEW *LPDIDEVICEINSTANCE_DX5W;
  253. #ifdef UNICODE
  254. typedef LPDIDEVICEINSTANCE_DX5W LPDIDEVICEINSTANCE_DX5;
  255. #else
  256. typedef LPDIDEVICEINSTANCE_DX5A LPDIDEVICEINSTANCE_DX5;
  257. #endif // UNICODE
  258. typedef DIDEVICEINSTANCE *LPDIDEVICEINSTANCE_DX5;
  259. typedef const DIDEVICEINSTANCEA *LPCDIDEVICEINSTANCE_DX5A;
  260. typedef const DIDEVICEINSTANCEW *LPCDIDEVICEINSTANCE_DX5W;
  261. #ifdef UNICODE
  262. typedef DIDEVICEINSTANCEW DIDEVICEINSTANCE;
  263. typedef LPCDIDEVICEINSTANCE_DX5W LPCDIDEVICEINSTANCE_DX5;
  264. #else
  265. typedef DIDEVICEINSTANCEA DIDEVICEINSTANCE;
  266. typedef LPCDIDEVICEINSTANCE_DX5A LPCDIDEVICEINSTANCE_DX5;
  267. #endif // UNICODE
  268. typedef const DIDEVICEINSTANCE *LPCDIDEVICEINSTANCE_DX5;
  269. BOOL static __inline
  270. IsValidSizeDIDEVICEINSTANCEW(DWORD cb)
  271. {
  272. return cb == sizeof(DIDEVICEINSTANCE_DX5W) ||
  273. cb == sizeof(DIDEVICEINSTANCE_DX3W);
  274. }
  275. BOOL static __inline
  276. IsValidSizeDIDEVICEINSTANCEA(DWORD cb)
  277. {
  278. return cb == sizeof(DIDEVICEINSTANCE_DX5A) ||
  279. cb == sizeof(DIDEVICEINSTANCE_DX3A);
  280. }
  281. #define DIRCP_MODAL 0x00000001 //
  282. #define DIRCP_VALID 0x00000000 //
  283. #define DISFFC_NULL 0x00000000
  284. #define DISFFC_VALID 0x0000003F
  285. #define DISFFC_FORCERESET 0x80000000
  286. #define DIGFFS_RANDOM 0x40000000
  287. #define DISDD_VALID 0x00000001
  288. #define DIECEFL_VALID 0x00000000
  289. #define DIFEF_ENUMVALID 0x00000011
  290. #define DIFEF_WRITEVALID 0x00000001
  291. #if DIRECTINPUT_VERSION >= 0x0700 //
  292. #define DIMOUSESTATE_INT DIMOUSESTATE2 //
  293. #define LPDIMOUSESTATE_INT LPDIMOUSESTATE2 //
  294. #else //
  295. #define DIMOUSESTATE_INT DIMOUSESTATE //
  296. #define LPDIMOUSESTATE_INT LPDIMOUSESTATE //
  297. #endif //
  298. #define DIKBD_CKEYS 256 /* Size of buffers */ //
  299. //
  300. // NT puts them here in their keyboard driver
  301. // So keep them in the same place to avoid problems later
  302. #define DIK_F16 0x67 //
  303. #define DIK_F17 0x68 //
  304. #define DIK_F18 0x69 //
  305. #define DIK_F19 0x6A //
  306. #define DIK_F20 0x6B //
  307. #define DIK_F21 0x6C //
  308. #define DIK_F22 0x6D //
  309. #define DIK_F23 0x6E //
  310. #define DIK_F24 0x76 //
  311. #define DIK_SHARP 0x84 /* Hash-mark */
  312. //k_def(DIK_SNAPSHOT ,0xC5) /* Print Screen */
  313. #define DIK_PRTSC DIK_SNAPSHOT /* Print Screen */
  314. #define DIEDFL_INCLUDEMASK 0x00FF0000
  315. #define DIEDFL_VALID 0x00030101
  316. #if DIRECTINPUT_VERSION > 0x700
  317. #define DIEDFL_VALID_DX5 0x00030101
  318. #undef DIEDFL_VALID
  319. #define DIEDFL_VALID 0x00070101
  320. #endif /* DIRECTINPUT_VERSION > 0x700 */
  321. /********************************************************************************************
  322. | Decoding a semantic
  323. | : | : | : | :
  324. | 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
  325. |PHY < Genre > < Reserved >< Flags > Pri<Group > <Typ> A/R< Control Index >
  326. |
  327. | PHY: Genre refers to a physical device
  328. | Genre: Genre# (1-128)
  329. | A/R - Axis mode ( 0 - Absolute, 1 - Relative )
  330. | Pri - Priority ( 0 - Priority 1, 1 - Priority 2 )
  331. |
  332. |
  333. *IMPORTANT: The Mapper UI uses some of the masks generated by M4. If you change any of the
  334. masks or Flags please make sure that the changes are also made to the the Mapper UI
  335. #defines.
  336. ********************************************************************************************/
  337. #define DISEM_GENRE_SET(x) ( ( (BYTE)(x)<<24 ) & 0xFF000000 )
  338. #define DISEM_GENRE_GET(x) ((BYTE)( ( (x) & 0xFF000000 )>>24 ))
  339. #define DISEM_GENRE_MASK ( 0xFF000000 )
  340. #define DISEM_GENRE_SHIFT ( 24 )
  341. #define DISEM_PHYSICAL_SET(x) ( ( (BYTE)(x)<<31 ) & 0x80000000 )
  342. #define DISEM_PHYSICAL_GET(x) ((BYTE)( ( (x) & 0x80000000 )>>31 ))
  343. #define DISEM_PHYSICAL_MASK ( 0x80000000 )
  344. #define DISEM_PHYSICAL_SHIFT ( 31 )
  345. #define DISEM_VIRTUAL_SET(x) ( ( (BYTE)(x)<<24 ) & 0x7F000000 )
  346. #define DISEM_VIRTUAL_GET(x) ((BYTE)( ( (x) & 0x7F000000 )>>24 ))
  347. #define DISEM_VIRTUAL_MASK ( 0x7F000000 )
  348. #define DISEM_VIRTUAL_SHIFT ( 24 )
  349. #define DISEM_RES_SET(x) ( ( (BYTE)(x)<<19 ) & 0x00F80000 )
  350. #define DISEM_RES_GET(x) ((BYTE)( ( (x) & 0x00F80000 )>>19 ))
  351. #define DISEM_RES_MASK ( 0x00F80000 )
  352. #define DISEM_RES_SHIFT ( 19 )
  353. #define DISEM_FLAGS_SET(x) ( ( (BYTE)(x)<<15 ) & 0x00078000 )
  354. #define DISEM_FLAGS_GET(x) ((BYTE)( ( (x) & 0x00078000 )>>15 ))
  355. #define DISEM_FLAGS_MASK ( 0x00078000 )
  356. #define DISEM_FLAGS_SHIFT ( 15 )
  357. #define DISEM_PRI_SET(x) ( ( (BYTE)(x)<<14 ) & 0x00004000 )
  358. #define DISEM_PRI_GET(x) ((BYTE)( ( (x) & 0x00004000 )>>14 ))
  359. #define DISEM_PRI_MASK ( 0x00004000 )
  360. #define DISEM_PRI_SHIFT ( 14 )
  361. #define DISEM_GROUP_SET(x) ( ( (BYTE)(x)<<11 ) & 0x00003800 )
  362. #define DISEM_GROUP_GET(x) ((BYTE)( ( (x) & 0x00003800 )>>11 ))
  363. #define DISEM_GROUP_MASK ( 0x00003800 )
  364. #define DISEM_GROUP_SHIFT ( 11 )
  365. #define DISEM_TYPE_SET(x) ( ( (BYTE)(x)<<9 ) & 0x00000600 )
  366. #define DISEM_TYPE_GET(x) ((BYTE)( ( (x) & 0x00000600 )>>9 ))
  367. #define DISEM_TYPE_MASK ( 0x00000600 )
  368. #define DISEM_TYPE_SHIFT ( 9 )
  369. #define DISEM_REL_SET(x) ( ( (BYTE)(x)<<8 ) & 0x00000100 )
  370. #define DISEM_REL_GET(x) ((BYTE)( ( (x) & 0x00000100 )>>8 ))
  371. #define DISEM_REL_MASK ( 0x00000100 )
  372. #define DISEM_REL_SHIFT ( 8 )
  373. #define DISEM_INDEX_SET(x) ( ( (BYTE)(x)<<0 ) & 0x000000FF )
  374. #define DISEM_INDEX_GET(x) ((BYTE)( ( (x) & 0x000000FF )>>0 ))
  375. #define DISEM_INDEX_MASK ( 0x000000FF )
  376. #define DISEM_INDEX_SHIFT ( 0 )
  377. #define DISEM_TYPE_AXIS 0x00000200
  378. #define DISEM_TYPE_BUTTON 0x00000400
  379. #define DISEM_TYPE_POV 0x00000600
  380. /*
  381. * Default Axis mapping is encoded as follows:
  382. * X - X or steering axis
  383. * Y - Y
  384. * Z - Z, not throttle
  385. * R - rZ or rudder
  386. * U - rY (not available for WinMM unless 6DOF or head tracker)
  387. * V - rx (not available for WinMM unless 6DOF or head tracker)
  388. * A - Accellerator or throttle
  389. * B - Brake
  390. * C - Clutch
  391. * S - Slider
  392. *
  393. * P - is used in fallback button flags to indicate a POV
  394. */
  395. #define DISEM_FLAGS_X 0x00008000
  396. #define DISEM_FLAGS_Y 0x00010000
  397. #define DISEM_FLAGS_Z 0x00018000
  398. #define DISEM_FLAGS_R 0x00020000
  399. #define DISEM_FLAGS_U 0x00028000
  400. #define DISEM_FLAGS_V 0x00030000
  401. #define DISEM_FLAGS_A 0x00038000
  402. #define DISEM_FLAGS_B 0x00040000
  403. #define DISEM_FLAGS_C 0x00048000
  404. #define DISEM_FLAGS_S 0x00050000
  405. #define DISEM_FLAGS_P 0x00078000
  406. /* The reserved button values */
  407. /*
  408. * Any axis value can be set to relative by or'ing the appropriate flags.
  409. */
  410. #define DIAXIS_RELATIVE 0x00000100
  411. #define DIAXIS_ABSOLUTE 0x00000000
  412. #define DIPHYSICAL_KEYBOARD 0x81000000
  413. /* @doc EXTERNAL
  414. * @Semantics Keyboard |
  415. * @normal Genre: <c 01 >
  416. */
  417. // NT puts them here in their keyboard driver
  418. // So keep them in the same place to avoid problems later
  419. #define DIKEYBOARD_F16 0x81000467 //
  420. #define DIKEYBOARD_F17 0x81000468 //
  421. #define DIKEYBOARD_F18 0x81000469 //
  422. #define DIKEYBOARD_F19 0x8100046A //
  423. #define DIKEYBOARD_F20 0x8100046B //
  424. #define DIKEYBOARD_F21 0x8100046C //
  425. #define DIKEYBOARD_F22 0x8100046D //
  426. #define DIKEYBOARD_F23 0x8100046E //
  427. #define DIKEYBOARD_F24 0x81000476 //
  428. #define DIKEYBOARD_SHARP 0x81000484 /* Hash-mark */
  429. //k_def(DIK_SNAPSHOT ,0xC5) /* Print Screen */
  430. #define DIPHYSICAL_MOUSE 0x82000000
  431. /* @doc EXTERNAL
  432. * @Semantics MOUSE |
  433. * @normal Genre: <c 02 >
  434. */
  435. #define DIPHYSICAL_VOICE 0x83000000
  436. /* @doc EXTERNAL
  437. * @Semantics VOICE |
  438. * @normal Genre: <c 03 >
  439. */
  440. /* @doc EXTERNAL
  441. * @Semantics Driving Simulator - Racing |
  442. * @normal Genre: <c 01 >
  443. */
  444. #define DISEM_DEFAULTDEVICE_1 { DI8DEVTYPE_DRIVING, }
  445. /* @normal <c DIAXIS_DRIVINGR_STEER>:0x01008A01
  446. * Steering */
  447. /* @normal <c DIAXIS_DRIVINGR_ACCELERATE>:0x01039202
  448. * Accelerate */
  449. /* @normal <c DIAXIS_DRIVINGR_BRAKE>:0x01041203
  450. * Brake-Axis */
  451. /* @normal <c DIBUTTON_DRIVINGR_SHIFTUP>:0x01000C01
  452. * Shift to next higher gear */
  453. /* @normal <c DIBUTTON_DRIVINGR_SHIFTDOWN>:0x01000C02
  454. * Shift to next lower gear */
  455. /* @normal <c DIBUTTON_DRIVINGR_VIEW>:0x01001C03
  456. * Cycle through view options */
  457. /* @normal <c DIBUTTON_DRIVINGR_MENU>:0x010004FD
  458. * Show menu options */
  459. /*--- @normal <c Priority2 Commands> ---*/
  460. /* @normal <c DIAXIS_DRIVINGR_ACCEL_AND_BRAKE>:0x01014A04
  461. * Some devices combine accelerate and brake in a single axis */
  462. /* @normal <c DIHATSWITCH_DRIVINGR_GLANCE>:0x01004601
  463. * Look around */
  464. /* @normal <c DIBUTTON_DRIVINGR_BRAKE>:0x01004C04
  465. * Brake-button */
  466. /* @normal <c DIBUTTON_DRIVINGR_DASHBOARD>:0x01004405
  467. * Select next dashboard option */
  468. /* @normal <c DIBUTTON_DRIVINGR_AIDS>:0x01004406
  469. * Driver correction aids */
  470. /* @normal <c DIBUTTON_DRIVINGR_MAP>:0x01004407
  471. * Display Driving Map */
  472. /* @normal <c DIBUTTON_DRIVINGR_BOOST>:0x01004408
  473. * Turbo Boost */
  474. /* @normal <c DIBUTTON_DRIVINGR_PIT>:0x01004409
  475. * Pit stop notification */
  476. /* @normal <c DIBUTTON_DRIVINGR_ACCELERATE_LINK>:0x0103D4E0
  477. * Fallback Accelerate button */
  478. /* @normal <c DIBUTTON_DRIVINGR_STEER_LEFT_LINK>:0x0100CCE4
  479. * Fallback Steer Left button */
  480. /* @normal <c DIBUTTON_DRIVINGR_STEER_RIGHT_LINK>:0x0100CCEC
  481. * Fallback Steer Right button */
  482. /* @normal <c DIBUTTON_DRIVINGR_GLANCE_LEFT_LINK>:0x0107C4E4
  483. * Fallback Glance Left button */
  484. /* @normal <c DIBUTTON_DRIVINGR_GLANCE_RIGHT_LINK>:0x0107C4EC
  485. * Fallback Glance Right button */
  486. /* @normal <c DIBUTTON_DRIVINGR_DEVICE>:0x010044FE
  487. * Show input device and controls */
  488. /* @normal <c DIBUTTON_DRIVINGR_PAUSE>:0x010044FC
  489. * Start / Pause / Restart game */
  490. /* @doc EXTERNAL
  491. * @Semantics Driving Simulator - Combat |
  492. * @normal Genre: <c 02 >
  493. */
  494. #define DISEM_DEFAULTDEVICE_2 { DI8DEVTYPE_DRIVING, }
  495. /* @normal <c DIAXIS_DRIVINGC_STEER>:0x02008A01
  496. * Steering */
  497. /* @normal <c DIAXIS_DRIVINGC_ACCELERATE>:0x02039202
  498. * Accelerate */
  499. /* @normal <c DIAXIS_DRIVINGC_BRAKE>:0x02041203
  500. * Brake-axis */
  501. /* @normal <c DIBUTTON_DRIVINGC_FIRE>:0x02000C01
  502. * Fire */
  503. /* @normal <c DIBUTTON_DRIVINGC_WEAPONS>:0x02000C02
  504. * Select next weapon */
  505. /* @normal <c DIBUTTON_DRIVINGC_TARGET>:0x02000C03
  506. * Select next available target */
  507. /* @normal <c DIBUTTON_DRIVINGC_MENU>:0x020004FD
  508. * Show menu options */
  509. /*--- @normal <c Priority2 Commands> ---*/
  510. /* @normal <c DIAXIS_DRIVINGC_ACCEL_AND_BRAKE>:0x02014A04
  511. * Some devices combine accelerate and brake in a single axis */
  512. /* @normal <c DIHATSWITCH_DRIVINGC_GLANCE>:0x02004601
  513. * Look around */
  514. /* @normal <c DIBUTTON_DRIVINGC_SHIFTUP>:0x02004C04
  515. * Shift to next higher gear */
  516. /* @normal <c DIBUTTON_DRIVINGC_SHIFTDOWN>:0x02004C05
  517. * Shift to next lower gear */
  518. /* @normal <c DIBUTTON_DRIVINGC_DASHBOARD>:0x02004406
  519. * Select next dashboard option */
  520. /* @normal <c DIBUTTON_DRIVINGC_AIDS>:0x02004407
  521. * Driver correction aids */
  522. /* @normal <c DIBUTTON_DRIVINGC_BRAKE>:0x02004C08
  523. * Brake-button */
  524. /* @normal <c DIBUTTON_DRIVINGC_FIRESECONDARY>:0x02004C09
  525. * Alternative fire button */
  526. /* @normal <c DIBUTTON_DRIVINGC_ACCELERATE_LINK>:0x0203D4E0
  527. * Fallback Accelerate button */
  528. /* @normal <c DIBUTTON_DRIVINGC_STEER_LEFT_LINK>:0x0200CCE4
  529. * Fallback Steer Left button */
  530. /* @normal <c DIBUTTON_DRIVINGC_STEER_RIGHT_LINK>:0x0200CCEC
  531. * Fallback Steer Right button */
  532. /* @normal <c DIBUTTON_DRIVINGC_GLANCE_LEFT_LINK>:0x0207C4E4
  533. * Fallback Glance Left button */
  534. /* @normal <c DIBUTTON_DRIVINGC_GLANCE_RIGHT_LINK>:0x0207C4EC
  535. * Fallback Glance Right button */
  536. /* @normal <c DIBUTTON_DRIVINGC_DEVICE>:0x020044FE
  537. * Show input device and controls */
  538. /* @normal <c DIBUTTON_DRIVINGC_PAUSE>:0x020044FC
  539. * Start / Pause / Restart game */
  540. /* @doc EXTERNAL
  541. * @Semantics Driving Simulator - Tank |
  542. * @normal Genre: <c 03 >
  543. */
  544. #define DISEM_DEFAULTDEVICE_3 { DI8DEVTYPE_DRIVING, }
  545. /* @normal <c DIAXIS_DRIVINGT_STEER>:0x03008A01
  546. * Turn tank left / right */
  547. /* @normal <c DIAXIS_DRIVINGT_BARREL>:0x03010202
  548. * Raise / lower barrel */
  549. /* @normal <c DIAXIS_DRIVINGT_ACCELERATE>:0x03039203
  550. * Accelerate */
  551. /* @normal <c DIAXIS_DRIVINGT_ROTATE>:0x03020204
  552. * Turn barrel left / right */
  553. /* @normal <c DIBUTTON_DRIVINGT_FIRE>:0x03000C01
  554. * Fire */
  555. /* @normal <c DIBUTTON_DRIVINGT_WEAPONS>:0x03000C02
  556. * Select next weapon */
  557. /* @normal <c DIBUTTON_DRIVINGT_TARGET>:0x03000C03
  558. * Selects next available target */
  559. /* @normal <c DIBUTTON_DRIVINGT_MENU>:0x030004FD
  560. * Show menu options */
  561. /*--- @normal <c Priority2 Commands> ---*/
  562. /* @normal <c DIHATSWITCH_DRIVINGT_GLANCE>:0x03004601
  563. * Look around */
  564. /* @normal <c DIAXIS_DRIVINGT_BRAKE>:0x03045205
  565. * Brake-axis */
  566. /* @normal <c DIAXIS_DRIVINGT_ACCEL_AND_BRAKE>:0x03014A06
  567. * Some devices combine accelerate and brake in a single axis */
  568. /* @normal <c DIBUTTON_DRIVINGT_VIEW>:0x03005C04
  569. * Cycle through view options */
  570. /* @normal <c DIBUTTON_DRIVINGT_DASHBOARD>:0x03005C05
  571. * Select next dashboard option */
  572. /* @normal <c DIBUTTON_DRIVINGT_BRAKE>:0x03004C06
  573. * Brake-button */
  574. /* @normal <c DIBUTTON_DRIVINGT_FIRESECONDARY>:0x03004C07
  575. * Alternative fire button */
  576. /* @normal <c DIBUTTON_DRIVINGT_ACCELERATE_LINK>:0x0303D4E0
  577. * Fallback Accelerate button */
  578. /* @normal <c DIBUTTON_DRIVINGT_STEER_LEFT_LINK>:0x0300CCE4
  579. * Fallback Steer Left button */
  580. /* @normal <c DIBUTTON_DRIVINGT_STEER_RIGHT_LINK>:0x0300CCEC
  581. * Fallback Steer Right button */
  582. /* @normal <c DIBUTTON_DRIVINGT_BARREL_UP_LINK>:0x030144E0
  583. * Fallback Barrel up button */
  584. /* @normal <c DIBUTTON_DRIVINGT_BARREL_DOWN_LINK>:0x030144E8
  585. * Fallback Barrel down button */
  586. /* @normal <c DIBUTTON_DRIVINGT_ROTATE_LEFT_LINK>:0x030244E4
  587. * Fallback Rotate left button */
  588. /* @normal <c DIBUTTON_DRIVINGT_ROTATE_RIGHT_LINK>:0x030244EC
  589. * Fallback Rotate right button */
  590. /* @normal <c DIBUTTON_DRIVINGT_GLANCE_LEFT_LINK>:0x0307C4E4
  591. * Fallback Glance Left button */
  592. /* @normal <c DIBUTTON_DRIVINGT_GLANCE_RIGHT_LINK>:0x0307C4EC
  593. * Fallback Glance Right button */
  594. /* @normal <c DIBUTTON_DRIVINGT_DEVICE>:0x030044FE
  595. * Show input device and controls */
  596. /* @normal <c DIBUTTON_DRIVINGT_PAUSE>:0x030044FC
  597. * Start / Pause / Restart game */
  598. /* @doc EXTERNAL
  599. * @Semantics Flight Simulator - Civilian |
  600. * @normal Genre: <c 04 >
  601. */
  602. #define DISEM_DEFAULTDEVICE_4 { DI8DEVTYPE_FLIGHT, DI8DEVTYPE_JOYSTICK, }
  603. /* @normal <c DIAXIS_FLYINGC_BANK>:0x04008A01
  604. * Roll ship left / right */
  605. /* @normal <c DIAXIS_FLYINGC_PITCH>:0x04010A02
  606. * Nose up / down */
  607. /* @normal <c DIAXIS_FLYINGC_THROTTLE>:0x04039203
  608. * Throttle */
  609. /* @normal <c DIBUTTON_FLYINGC_VIEW>:0x04002401
  610. * Cycle through view options */
  611. /* @normal <c DIBUTTON_FLYINGC_DISPLAY>:0x04002402
  612. * Select next dashboard / heads up display option */
  613. /* @normal <c DIBUTTON_FLYINGC_GEAR>:0x04002C03
  614. * Gear up / down */
  615. /* @normal <c DIBUTTON_FLYINGC_MENU>:0x040004FD
  616. * Show menu options */
  617. /*--- @normal <c Priority2 Commands> ---*/
  618. /* @normal <c DIHATSWITCH_FLYINGC_GLANCE>:0x04004601
  619. * Look around */
  620. /* @normal <c DIAXIS_FLYINGC_BRAKE>:0x04046A04
  621. * Apply Brake */
  622. /* @normal <c DIAXIS_FLYINGC_RUDDER>:0x04025205
  623. * Yaw ship left/right */
  624. /* @normal <c DIAXIS_FLYINGC_FLAPS>:0x04055A06
  625. * Flaps */
  626. /* @normal <c DIBUTTON_FLYINGC_FLAPSUP>:0x04006404
  627. * Increment stepping up until fully retracted */
  628. /* @normal <c DIBUTTON_FLYINGC_FLAPSDOWN>:0x04006405
  629. * Decrement stepping down until fully extended */
  630. /* @normal <c DIBUTTON_FLYINGC_BRAKE_LINK>:0x04046CE0
  631. * Fallback brake button */
  632. /* @normal <c DIBUTTON_FLYINGC_FASTER_LINK>:0x0403D4E0
  633. * Fallback throttle up button */
  634. /* @normal <c DIBUTTON_FLYINGC_SLOWER_LINK>:0x0403D4E8
  635. * Fallback throttle down button */
  636. /* @normal <c DIBUTTON_FLYINGC_GLANCE_LEFT_LINK>:0x0407C4E4
  637. * Fallback Glance Left button */
  638. /* @normal <c DIBUTTON_FLYINGC_GLANCE_RIGHT_LINK>:0x0407C4EC
  639. * Fallback Glance Right button */
  640. /* @normal <c DIBUTTON_FLYINGC_GLANCE_UP_LINK>:0x0407C4E0
  641. * Fallback Glance Up button */
  642. /* @normal <c DIBUTTON_FLYINGC_GLANCE_DOWN_LINK>:0x0407C4E8
  643. * Fallback Glance Down button */
  644. /* @normal <c DIBUTTON_FLYINGC_DEVICE>:0x040044FE
  645. * Show input device and controls */
  646. /* @normal <c DIBUTTON_FLYINGC_PAUSE>:0x040044FC
  647. * Start / Pause / Restart game */
  648. /* @doc EXTERNAL
  649. * @Semantics Flight Simulator - Military |
  650. * @normal Genre: <c 05 >
  651. */
  652. #define DISEM_DEFAULTDEVICE_5 { DI8DEVTYPE_FLIGHT, DI8DEVTYPE_JOYSTICK, }
  653. /* @normal <c DIAXIS_FLYINGM_BANK>:0x05008A01
  654. * Bank - Roll ship left / right */
  655. /* @normal <c DIAXIS_FLYINGM_PITCH>:0x05010A02
  656. * Pitch - Nose up / down */
  657. /* @normal <c DIAXIS_FLYINGM_THROTTLE>:0x05039203
  658. * Throttle - faster / slower */
  659. /* @normal <c DIBUTTON_FLYINGM_FIRE>:0x05000C01
  660. * Fire */
  661. /* @normal <c DIBUTTON_FLYINGM_WEAPONS>:0x05000C02
  662. * Select next weapon */
  663. /* @normal <c DIBUTTON_FLYINGM_TARGET>:0x05000C03
  664. * Selects next available target */
  665. /* @normal <c DIBUTTON_FLYINGM_MENU>:0x050004FD
  666. * Show menu options */
  667. /*--- @normal <c Priority2 Commands> ---*/
  668. /* @normal <c DIHATSWITCH_FLYINGM_GLANCE>:0x05004601
  669. * Look around */
  670. /* @normal <c DIBUTTON_FLYINGM_COUNTER>:0x05005C04
  671. * Activate counter measures */
  672. /* @normal <c DIAXIS_FLYINGM_RUDDER>:0x05024A04
  673. * Rudder - Yaw ship left/right */
  674. /* @normal <c DIAXIS_FLYINGM_BRAKE>:0x05046205
  675. * Brake-axis */
  676. /* @normal <c DIBUTTON_FLYINGM_VIEW>:0x05006405
  677. * Cycle through view options */
  678. /* @normal <c DIBUTTON_FLYINGM_DISPLAY>:0x05006406
  679. * Select next dashboard option */
  680. /* @normal <c DIAXIS_FLYINGM_FLAPS>:0x05055206
  681. * Flaps */
  682. /* @normal <c DIBUTTON_FLYINGM_FLAPSUP>:0x05005407
  683. * Increment stepping up until fully retracted */
  684. /* @normal <c DIBUTTON_FLYINGM_FLAPSDOWN>:0x05005408
  685. * Decrement stepping down until fully extended */
  686. /* @normal <c DIBUTTON_FLYINGM_FIRESECONDARY>:0x05004C09
  687. * Alternative fire button */
  688. /* @normal <c DIBUTTON_FLYINGM_GEAR>:0x0500640A
  689. * Gear up / down */
  690. /* @normal <c DIBUTTON_FLYINGM_BRAKE_LINK>:0x050464E0
  691. * Fallback brake button */
  692. /* @normal <c DIBUTTON_FLYINGM_FASTER_LINK>:0x0503D4E0
  693. * Fallback throttle up button */
  694. /* @normal <c DIBUTTON_FLYINGM_SLOWER_LINK>:0x0503D4E8
  695. * Fallback throttle down button */
  696. /* @normal <c DIBUTTON_FLYINGM_GLANCE_LEFT_LINK>:0x0507C4E4
  697. * Fallback Glance Left button */
  698. /* @normal <c DIBUTTON_FLYINGM_GLANCE_RIGHT_LINK>:0x0507C4EC
  699. * Fallback Glance Right button */
  700. /* @normal <c DIBUTTON_FLYINGM_GLANCE_UP_LINK>:0x0507C4E0
  701. * Fallback Glance Up button */
  702. /* @normal <c DIBUTTON_FLYINGM_GLANCE_DOWN_LINK>:0x0507C4E8
  703. * Fallback Glance Down button */
  704. /* @normal <c DIBUTTON_FLYINGM_DEVICE>:0x050044FE
  705. * Show input device and controls */
  706. /* @normal <c DIBUTTON_FLYINGM_PAUSE>:0x050044FC
  707. * Start / Pause / Restart game */
  708. /* @doc EXTERNAL
  709. * @Semantics Flight Simulator - Combat Helicopter |
  710. * @normal Genre: <c 06 >
  711. */
  712. #define DISEM_DEFAULTDEVICE_6 { DI8DEVTYPE_JOYSTICK, }
  713. /* @normal <c DIAXIS_FLYINGH_BANK>:0x06008A01
  714. * Bank - Roll ship left / right */
  715. /* @normal <c DIAXIS_FLYINGH_PITCH>:0x06010A02
  716. * Pitch - Nose up / down */
  717. /* @normal <c DIAXIS_FLYINGH_COLLECTIVE>:0x06018A03
  718. * Collective - Blade pitch/power */
  719. /* @normal <c DIBUTTON_FLYINGH_FIRE>:0x06001401
  720. * Fire */
  721. /* @normal <c DIBUTTON_FLYINGH_WEAPONS>:0x06001402
  722. * Select next weapon */
  723. /* @normal <c DIBUTTON_FLYINGH_TARGET>:0x06001403
  724. * Selects next available target */
  725. /* @normal <c DIBUTTON_FLYINGH_MENU>:0x060004FD
  726. * Show menu options */
  727. /*--- @normal <c Priority2 Commands> ---*/
  728. /* @normal <c DIHATSWITCH_FLYINGH_GLANCE>:0x06004601
  729. * Look around */
  730. /* @normal <c DIAXIS_FLYINGH_TORQUE>:0x06025A04
  731. * Torque - Rotate ship around left / right axis */
  732. /* @normal <c DIAXIS_FLYINGH_THROTTLE>:0x0603DA05
  733. * Throttle */
  734. /* @normal <c DIBUTTON_FLYINGH_COUNTER>:0x06005404
  735. * Activate counter measures */
  736. /* @normal <c DIBUTTON_FLYINGH_VIEW>:0x06006405
  737. * Cycle through view options */
  738. /* @normal <c DIBUTTON_FLYINGH_GEAR>:0x06006406
  739. * Gear up / down */
  740. /* @normal <c DIBUTTON_FLYINGH_FIRESECONDARY>:0x06004C07
  741. * Alternative fire button */
  742. /* @normal <c DIBUTTON_FLYINGH_FASTER_LINK>:0x0603DCE0
  743. * Fallback throttle up button */
  744. /* @normal <c DIBUTTON_FLYINGH_SLOWER_LINK>:0x0603DCE8
  745. * Fallback throttle down button */
  746. /* @normal <c DIBUTTON_FLYINGH_GLANCE_LEFT_LINK>:0x0607C4E4
  747. * Fallback Glance Left button */
  748. /* @normal <c DIBUTTON_FLYINGH_GLANCE_RIGHT_LINK>:0x0607C4EC
  749. * Fallback Glance Right button */
  750. /* @normal <c DIBUTTON_FLYINGH_GLANCE_UP_LINK>:0x0607C4E0
  751. * Fallback Glance Up button */
  752. /* @normal <c DIBUTTON_FLYINGH_GLANCE_DOWN_LINK>:0x0607C4E8
  753. * Fallback Glance Down button */
  754. /* @normal <c DIBUTTON_FLYINGH_DEVICE>:0x060044FE
  755. * Show input device and controls */
  756. /* @normal <c DIBUTTON_FLYINGH_PAUSE>:0x060044FC
  757. * Start / Pause / Restart game */
  758. /* @doc EXTERNAL
  759. * @Semantics Space Simulator - Combat |
  760. * @normal Genre: <c 07 >
  761. */
  762. #define DISEM_DEFAULTDEVICE_7 { DI8DEVTYPE_JOYSTICK, }
  763. /* @normal <c DIAXIS_SPACESIM_LATERAL>:0x07008201
  764. * Move ship left / right */
  765. /* @normal <c DIAXIS_SPACESIM_MOVE>:0x07010202
  766. * Move ship forward/backward */
  767. /* @normal <c DIAXIS_SPACESIM_THROTTLE>:0x07038203
  768. * Throttle - Engine speed */
  769. /* @normal <c DIBUTTON_SPACESIM_FIRE>:0x07000401
  770. * Fire */
  771. /* @normal <c DIBUTTON_SPACESIM_WEAPONS>:0x07000402
  772. * Select next weapon */
  773. /* @normal <c DIBUTTON_SPACESIM_TARGET>:0x07000403
  774. * Selects next available target */
  775. /* @normal <c DIBUTTON_SPACESIM_MENU>:0x070004FD
  776. * Show menu options */
  777. /*--- @normal <c Priority2 Commands> ---*/
  778. /* @normal <c DIHATSWITCH_SPACESIM_GLANCE>:0x07004601
  779. * Look around */
  780. /* @normal <c DIAXIS_SPACESIM_CLIMB>:0x0701C204
  781. * Climb - Pitch ship up/down */
  782. /* @normal <c DIAXIS_SPACESIM_ROTATE>:0x07024205
  783. * Rotate - Turn ship left/right */
  784. /* @normal <c DIBUTTON_SPACESIM_VIEW>:0x07004404
  785. * Cycle through view options */
  786. /* @normal <c DIBUTTON_SPACESIM_DISPLAY>:0x07004405
  787. * Select next dashboard / heads up display option */
  788. /* @normal <c DIBUTTON_SPACESIM_RAISE>:0x07004406
  789. * Raise ship while maintaining current pitch */
  790. /* @normal <c DIBUTTON_SPACESIM_LOWER>:0x07004407
  791. * Lower ship while maintaining current pitch */
  792. /* @normal <c DIBUTTON_SPACESIM_GEAR>:0x07004408
  793. * Gear up / down */
  794. /* @normal <c DIBUTTON_SPACESIM_FIRESECONDARY>:0x07004409
  795. * Alternative fire button */
  796. /* @normal <c DIBUTTON_SPACESIM_LEFT_LINK>:0x0700C4E4
  797. * Fallback move left button */
  798. /* @normal <c DIBUTTON_SPACESIM_RIGHT_LINK>:0x0700C4EC
  799. * Fallback move right button */
  800. /* @normal <c DIBUTTON_SPACESIM_FORWARD_LINK>:0x070144E0
  801. * Fallback move forward button */
  802. /* @normal <c DIBUTTON_SPACESIM_BACKWARD_LINK>:0x070144E8
  803. * Fallback move backwards button */
  804. /* @normal <c DIBUTTON_SPACESIM_FASTER_LINK>:0x0703C4E0
  805. * Fallback throttle up button */
  806. /* @normal <c DIBUTTON_SPACESIM_SLOWER_LINK>:0x0703C4E8
  807. * Fallback throttle down button */
  808. /* @normal <c DIBUTTON_SPACESIM_TURN_LEFT_LINK>:0x070244E4
  809. * Fallback turn left button */
  810. /* @normal <c DIBUTTON_SPACESIM_TURN_RIGHT_LINK>:0x070244EC
  811. * Fallback turn right button */
  812. /* @normal <c DIBUTTON_SPACESIM_GLANCE_LEFT_LINK>:0x0707C4E4
  813. * Fallback Glance Left button */
  814. /* @normal <c DIBUTTON_SPACESIM_GLANCE_RIGHT_LINK>:0x0707C4EC
  815. * Fallback Glance Right button */
  816. /* @normal <c DIBUTTON_SPACESIM_GLANCE_UP_LINK>:0x0707C4E0
  817. * Fallback Glance Up button */
  818. /* @normal <c DIBUTTON_SPACESIM_GLANCE_DOWN_LINK>:0x0707C4E8
  819. * Fallback Glance Down button */
  820. /* @normal <c DIBUTTON_SPACESIM_DEVICE>:0x070044FE
  821. * Show input device and controls */
  822. /* @normal <c DIBUTTON_SPACESIM_PAUSE>:0x070044FC
  823. * Start / Pause / Restart game */
  824. /* @doc EXTERNAL
  825. * @Semantics Fighting - First Person |
  826. * @normal Genre: <c 08 >
  827. */
  828. #define DISEM_DEFAULTDEVICE_8 { DI8DEVTYPE_GAMEPAD, DI8DEVTYPE_JOYSTICK, }
  829. /* @normal <c DIAXIS_FIGHTINGH_LATERAL>:0x08008201
  830. * Sidestep left/right */
  831. /* @normal <c DIAXIS_FIGHTINGH_MOVE>:0x08010202
  832. * Move forward/backward */
  833. /* @normal <c DIBUTTON_FIGHTINGH_PUNCH>:0x08000401
  834. * Punch */
  835. /* @normal <c DIBUTTON_FIGHTINGH_KICK>:0x08000402
  836. * Kick */
  837. /* @normal <c DIBUTTON_FIGHTINGH_BLOCK>:0x08000403
  838. * Block */
  839. /* @normal <c DIBUTTON_FIGHTINGH_CROUCH>:0x08000404
  840. * Crouch */
  841. /* @normal <c DIBUTTON_FIGHTINGH_JUMP>:0x08000405
  842. * Jump */
  843. /* @normal <c DIBUTTON_FIGHTINGH_SPECIAL1>:0x08000406
  844. * Apply first special move */
  845. /* @normal <c DIBUTTON_FIGHTINGH_SPECIAL2>:0x08000407
  846. * Apply second special move */
  847. /* @normal <c DIBUTTON_FIGHTINGH_MENU>:0x080004FD
  848. * Show menu options */
  849. /*--- @normal <c Priority2 Commands> ---*/
  850. /* @normal <c DIBUTTON_FIGHTINGH_SELECT>:0x08004408
  851. * Select special move */
  852. /* @normal <c DIHATSWITCH_FIGHTINGH_SLIDE>:0x08004601
  853. * Look around */
  854. /* @normal <c DIBUTTON_FIGHTINGH_DISPLAY>:0x08004409
  855. * Shows next on-screen display option */
  856. /* @normal <c DIAXIS_FIGHTINGH_ROTATE>:0x08024203
  857. * Rotate - Turn body left/right */
  858. /* @normal <c DIBUTTON_FIGHTINGH_DODGE>:0x0800440A
  859. * Dodge */
  860. /* @normal <c DIBUTTON_FIGHTINGH_LEFT_LINK>:0x0800C4E4
  861. * Fallback left sidestep button */
  862. /* @normal <c DIBUTTON_FIGHTINGH_RIGHT_LINK>:0x0800C4EC
  863. * Fallback right sidestep button */
  864. /* @normal <c DIBUTTON_FIGHTINGH_FORWARD_LINK>:0x080144E0
  865. * Fallback forward button */
  866. /* @normal <c DIBUTTON_FIGHTINGH_BACKWARD_LINK>:0x080144E8
  867. * Fallback backward button */
  868. /* @normal <c DIBUTTON_FIGHTINGH_DEVICE>:0x080044FE
  869. * Show input device and controls */
  870. /* @normal <c DIBUTTON_FIGHTINGH_PAUSE>:0x080044FC
  871. * Start / Pause / Restart game */
  872. /* @doc EXTERNAL
  873. * @Semantics Fighting - First Person Shooting |
  874. * @normal Genre: <c 09 >
  875. */
  876. #define DISEM_DEFAULTDEVICE_9 { DI8DEVTYPE_1STPERSON, }
  877. /* @normal <c DIAXIS_FPS_ROTATE>:0x09008201
  878. * Rotate character left/right */
  879. /* @normal <c DIAXIS_FPS_MOVE>:0x09010202
  880. * Move forward/backward */
  881. /* @normal <c DIBUTTON_FPS_FIRE>:0x09000401
  882. * Fire */
  883. /* @normal <c DIBUTTON_FPS_WEAPONS>:0x09000402
  884. * Select next weapon */
  885. /* @normal <c DIBUTTON_FPS_APPLY>:0x09000403
  886. * Use item */
  887. /* @normal <c DIBUTTON_FPS_SELECT>:0x09000404
  888. * Select next inventory item */
  889. /* @normal <c DIBUTTON_FPS_CROUCH>:0x09000405
  890. * Crouch/ climb down/ swim down */
  891. /* @normal <c DIBUTTON_FPS_JUMP>:0x09000406
  892. * Jump/ climb up/ swim up */
  893. /* @normal <c DIAXIS_FPS_LOOKUPDOWN>:0x09018203
  894. * Look up / down */
  895. /* @normal <c DIBUTTON_FPS_STRAFE>:0x09000407
  896. * Enable strafing while active */
  897. /* @normal <c DIBUTTON_FPS_MENU>:0x090004FD
  898. * Show menu options */
  899. /*--- @normal <c Priority2 Commands> ---*/
  900. /* @normal <c DIHATSWITCH_FPS_GLANCE>:0x09004601
  901. * Look around */
  902. /* @normal <c DIBUTTON_FPS_DISPLAY>:0x09004408
  903. * Shows next on-screen display option/ map */
  904. /* @normal <c DIAXIS_FPS_SIDESTEP>:0x09024204
  905. * Sidestep */
  906. /* @normal <c DIBUTTON_FPS_DODGE>:0x09004409
  907. * Dodge */
  908. /* @normal <c DIBUTTON_FPS_GLANCEL>:0x0900440A
  909. * Glance Left */
  910. /* @normal <c DIBUTTON_FPS_GLANCER>:0x0900440B
  911. * Glance Right */
  912. /* @normal <c DIBUTTON_FPS_FIRESECONDARY>:0x0900440C
  913. * Alternative fire button */
  914. /* @normal <c DIBUTTON_FPS_ROTATE_LEFT_LINK>:0x0900C4E4
  915. * Fallback rotate left button */
  916. /* @normal <c DIBUTTON_FPS_ROTATE_RIGHT_LINK>:0x0900C4EC
  917. * Fallback rotate right button */
  918. /* @normal <c DIBUTTON_FPS_FORWARD_LINK>:0x090144E0
  919. * Fallback forward button */
  920. /* @normal <c DIBUTTON_FPS_BACKWARD_LINK>:0x090144E8
  921. * Fallback backward button */
  922. /* @normal <c DIBUTTON_FPS_GLANCE_UP_LINK>:0x0901C4E0
  923. * Fallback look up button */
  924. /* @normal <c DIBUTTON_FPS_GLANCE_DOWN_LINK>:0x0901C4E8
  925. * Fallback look down button */
  926. /* @normal <c DIBUTTON_FPS_STEP_LEFT_LINK>:0x090244E4
  927. * Fallback step left button */
  928. /* @normal <c DIBUTTON_FPS_STEP_RIGHT_LINK>:0x090244EC
  929. * Fallback step right button */
  930. /* @normal <c DIBUTTON_FPS_DEVICE>:0x090044FE
  931. * Show input device and controls */
  932. /* @normal <c DIBUTTON_FPS_PAUSE>:0x090044FC
  933. * Start / Pause / Restart game */
  934. /* @doc EXTERNAL
  935. * @Semantics Fighting - Third Person action |
  936. * @normal Genre: <c 10 >
  937. */
  938. #define DISEM_DEFAULTDEVICE_10 { DI8DEVTYPE_1STPERSON, }
  939. /* @normal <c DIAXIS_TPS_TURN>:0x0A020201
  940. * Turn left/right */
  941. /* @normal <c DIAXIS_TPS_MOVE>:0x0A010202
  942. * Move forward/backward */
  943. /* @normal <c DIBUTTON_TPS_RUN>:0x0A000401
  944. * Run or walk toggle switch */
  945. /* @normal <c DIBUTTON_TPS_ACTION>:0x0A000402
  946. * Action Button */
  947. /* @normal <c DIBUTTON_TPS_SELECT>:0x0A000403
  948. * Select next weapon */
  949. /* @normal <c DIBUTTON_TPS_USE>:0x0A000404
  950. * Use inventory item currently selected */
  951. /* @normal <c DIBUTTON_TPS_JUMP>:0x0A000405
  952. * Character Jumps */
  953. /* @normal <c DIBUTTON_TPS_MENU>:0x0A0004FD
  954. * Show menu options */
  955. /*--- @normal <c Priority2 Commands> ---*/
  956. /* @normal <c DIHATSWITCH_TPS_GLANCE>:0x0A004601
  957. * Look around */
  958. /* @normal <c DIBUTTON_TPS_VIEW>:0x0A004406
  959. * Select camera view */
  960. /* @normal <c DIBUTTON_TPS_STEPLEFT>:0x0A004407
  961. * Character takes a left step */
  962. /* @normal <c DIBUTTON_TPS_STEPRIGHT>:0x0A004408
  963. * Character takes a right step */
  964. /* @normal <c DIAXIS_TPS_STEP>:0x0A00C203
  965. * Character steps left/right */
  966. /* @normal <c DIBUTTON_TPS_DODGE>:0x0A004409
  967. * Character dodges or ducks */
  968. /* @normal <c DIBUTTON_TPS_INVENTORY>:0x0A00440A
  969. * Cycle through inventory */
  970. /* @normal <c DIBUTTON_TPS_TURN_LEFT_LINK>:0x0A0244E4
  971. * Fallback turn left button */
  972. /* @normal <c DIBUTTON_TPS_TURN_RIGHT_LINK>:0x0A0244EC
  973. * Fallback turn right button */
  974. /* @normal <c DIBUTTON_TPS_FORWARD_LINK>:0x0A0144E0
  975. * Fallback forward button */
  976. /* @normal <c DIBUTTON_TPS_BACKWARD_LINK>:0x0A0144E8
  977. * Fallback backward button */
  978. /* @normal <c DIBUTTON_TPS_GLANCE_UP_LINK>:0x0A07C4E0
  979. * Fallback look up button */
  980. /* @normal <c DIBUTTON_TPS_GLANCE_DOWN_LINK>:0x0A07C4E8
  981. * Fallback look down button */
  982. /* @normal <c DIBUTTON_TPS_GLANCE_LEFT_LINK>:0x0A07C4E4
  983. * Fallback glance up button */
  984. /* @normal <c DIBUTTON_TPS_GLANCE_RIGHT_LINK>:0x0A07C4EC
  985. * Fallback glance right button */
  986. /* @normal <c DIBUTTON_TPS_DEVICE>:0x0A0044FE
  987. * Show input device and controls */
  988. /* @normal <c DIBUTTON_TPS_PAUSE>:0x0A0044FC
  989. * Start / Pause / Restart game */
  990. /* @doc EXTERNAL
  991. * @Semantics Strategy - Role Playing |
  992. * @normal Genre: <c 11 >
  993. */
  994. #define DISEM_DEFAULTDEVICE_11 { DI8DEVTYPE_GAMEPAD, DI8DEVTYPE_JOYSTICK, }
  995. /* @normal <c DIAXIS_STRATEGYR_LATERAL>:0x0B008201
  996. * sidestep - left/right */
  997. /* @normal <c DIAXIS_STRATEGYR_MOVE>:0x0B010202
  998. * move forward/backward */
  999. /* @normal <c DIBUTTON_STRATEGYR_GET>:0x0B000401
  1000. * Acquire item */
  1001. /* @normal <c DIBUTTON_STRATEGYR_APPLY>:0x0B000402
  1002. * Use selected item */
  1003. /* @normal <c DIBUTTON_STRATEGYR_SELECT>:0x0B000403
  1004. * Select nextitem */
  1005. /* @normal <c DIBUTTON_STRATEGYR_ATTACK>:0x0B000404
  1006. * Attack */
  1007. /* @normal <c DIBUTTON_STRATEGYR_CAST>:0x0B000405
  1008. * Cast Spell */
  1009. /* @normal <c DIBUTTON_STRATEGYR_CROUCH>:0x0B000406
  1010. * Crouch */
  1011. /* @normal <c DIBUTTON_STRATEGYR_JUMP>:0x0B000407
  1012. * Jump */
  1013. /* @normal <c DIBUTTON_STRATEGYR_MENU>:0x0B0004FD
  1014. * Show menu options */
  1015. /*--- @normal <c Priority2 Commands> ---*/
  1016. /* @normal <c DIHATSWITCH_STRATEGYR_GLANCE>:0x0B004601
  1017. * Look around */
  1018. /* @normal <c DIBUTTON_STRATEGYR_MAP>:0x0B004408
  1019. * Cycle through map options */
  1020. /* @normal <c DIBUTTON_STRATEGYR_DISPLAY>:0x0B004409
  1021. * Shows next on-screen display option */
  1022. /* @normal <c DIAXIS_STRATEGYR_ROTATE>:0x0B024203
  1023. * Turn body left/right */
  1024. /* @normal <c DIBUTTON_STRATEGYR_LEFT_LINK>:0x0B00C4E4
  1025. * Fallback sidestep left button */
  1026. /* @normal <c DIBUTTON_STRATEGYR_RIGHT_LINK>:0x0B00C4EC
  1027. * Fallback sidestep right button */
  1028. /* @normal <c DIBUTTON_STRATEGYR_FORWARD_LINK>:0x0B0144E0
  1029. * Fallback move forward button */
  1030. /* @normal <c DIBUTTON_STRATEGYR_BACK_LINK>:0x0B0144E8
  1031. * Fallback move backward button */
  1032. /* @normal <c DIBUTTON_STRATEGYR_ROTATE_LEFT_LINK>:0x0B0244E4
  1033. * Fallback turn body left button */
  1034. /* @normal <c DIBUTTON_STRATEGYR_ROTATE_RIGHT_LINK>:0x0B0244EC
  1035. * Fallback turn body right button */
  1036. /* @normal <c DIBUTTON_STRATEGYR_DEVICE>:0x0B0044FE
  1037. * Show input device and controls */
  1038. /* @normal <c DIBUTTON_STRATEGYR_PAUSE>:0x0B0044FC
  1039. * Start / Pause / Restart game */
  1040. /* @doc EXTERNAL
  1041. * @Semantics Strategy - Turn based |
  1042. * @normal Genre: <c 12 >
  1043. */
  1044. #define DISEM_DEFAULTDEVICE_12 { DI8DEVTYPE_GAMEPAD, DI8DEVTYPE_JOYSTICK, }
  1045. /* @normal <c DIAXIS_STRATEGYT_LATERAL>:0x0C008201
  1046. * Sidestep left/right */
  1047. /* @normal <c DIAXIS_STRATEGYT_MOVE>:0x0C010202
  1048. * Move forward/backwards */
  1049. /* @normal <c DIBUTTON_STRATEGYT_SELECT>:0x0C000401
  1050. * Select unit or object */
  1051. /* @normal <c DIBUTTON_STRATEGYT_INSTRUCT>:0x0C000402
  1052. * Cycle through instructions */
  1053. /* @normal <c DIBUTTON_STRATEGYT_APPLY>:0x0C000403
  1054. * Apply selected instruction */
  1055. /* @normal <c DIBUTTON_STRATEGYT_TEAM>:0x0C000404
  1056. * Select next team / cycle through all */
  1057. /* @normal <c DIBUTTON_STRATEGYT_TURN>:0x0C000405
  1058. * Indicate turn over */
  1059. /* @normal <c DIBUTTON_STRATEGYT_MENU>:0x0C0004FD
  1060. * Show menu options */
  1061. /*--- @normal <c Priority2 Commands> ---*/
  1062. /* @normal <c DIBUTTON_STRATEGYT_ZOOM>:0x0C004406
  1063. * Zoom - in / out */
  1064. /* @normal <c DIBUTTON_STRATEGYT_MAP>:0x0C004407
  1065. * cycle through map options */
  1066. /* @normal <c DIBUTTON_STRATEGYT_DISPLAY>:0x0C004408
  1067. * shows next on-screen display options */
  1068. /* @normal <c DIBUTTON_STRATEGYT_LEFT_LINK>:0x0C00C4E4
  1069. * Fallback sidestep left button */
  1070. /* @normal <c DIBUTTON_STRATEGYT_RIGHT_LINK>:0x0C00C4EC
  1071. * Fallback sidestep right button */
  1072. /* @normal <c DIBUTTON_STRATEGYT_FORWARD_LINK>:0x0C0144E0
  1073. * Fallback move forward button */
  1074. /* @normal <c DIBUTTON_STRATEGYT_BACK_LINK>:0x0C0144E8
  1075. * Fallback move back button */
  1076. /* @normal <c DIBUTTON_STRATEGYT_DEVICE>:0x0C0044FE
  1077. * Show input device and controls */
  1078. /* @normal <c DIBUTTON_STRATEGYT_PAUSE>:0x0C0044FC
  1079. * Start / Pause / Restart game */
  1080. /* @doc EXTERNAL
  1081. * @Semantics Sports - Hunting |
  1082. * @normal Genre: <c 13 >
  1083. */
  1084. #define DISEM_DEFAULTDEVICE_13 { DI8DEVTYPE_GAMEPAD, DI8DEVTYPE_JOYSTICK, }
  1085. /* @normal <c DIAXIS_HUNTING_LATERAL>:0x0D008201
  1086. * sidestep left/right */
  1087. /* @normal <c DIAXIS_HUNTING_MOVE>:0x0D010202
  1088. * move forward/backwards */
  1089. /* @normal <c DIBUTTON_HUNTING_FIRE>:0x0D000401
  1090. * Fire selected weapon */
  1091. /* @normal <c DIBUTTON_HUNTING_AIM>:0x0D000402
  1092. * Select aim/move */
  1093. /* @normal <c DIBUTTON_HUNTING_WEAPON>:0x0D000403
  1094. * Select next weapon */
  1095. /* @normal <c DIBUTTON_HUNTING_BINOCULAR>:0x0D000404
  1096. * Look through Binoculars */
  1097. /* @normal <c DIBUTTON_HUNTING_CALL>:0x0D000405
  1098. * Make animal call */
  1099. /* @normal <c DIBUTTON_HUNTING_MAP>:0x0D000406
  1100. * View Map */
  1101. /* @normal <c DIBUTTON_HUNTING_SPECIAL>:0x0D000407
  1102. * Special game operation */
  1103. /* @normal <c DIBUTTON_HUNTING_MENU>:0x0D0004FD
  1104. * Show menu options */
  1105. /*--- @normal <c Priority2 Commands> ---*/
  1106. /* @normal <c DIHATSWITCH_HUNTING_GLANCE>:0x0D004601
  1107. * Look around */
  1108. /* @normal <c DIBUTTON_HUNTING_DISPLAY>:0x0D004408
  1109. * show next on-screen display option */
  1110. /* @normal <c DIAXIS_HUNTING_ROTATE>:0x0D024203
  1111. * Turn body left/right */
  1112. /* @normal <c DIBUTTON_HUNTING_CROUCH>:0x0D004409
  1113. * Crouch/ Climb / Swim down */
  1114. /* @normal <c DIBUTTON_HUNTING_JUMP>:0x0D00440A
  1115. * Jump/ Climb up / Swim up */
  1116. /* @normal <c DIBUTTON_HUNTING_FIRESECONDARY>:0x0D00440B
  1117. * Alternative fire button */
  1118. /* @normal <c DIBUTTON_HUNTING_LEFT_LINK>:0x0D00C4E4
  1119. * Fallback sidestep left button */
  1120. /* @normal <c DIBUTTON_HUNTING_RIGHT_LINK>:0x0D00C4EC
  1121. * Fallback sidestep right button */
  1122. /* @normal <c DIBUTTON_HUNTING_FORWARD_LINK>:0x0D0144E0
  1123. * Fallback move forward button */
  1124. /* @normal <c DIBUTTON_HUNTING_BACK_LINK>:0x0D0144E8
  1125. * Fallback move back button */
  1126. /* @normal <c DIBUTTON_HUNTING_ROTATE_LEFT_LINK>:0x0D0244E4
  1127. * Fallback turn body left button */
  1128. /* @normal <c DIBUTTON_HUNTING_ROTATE_RIGHT_LINK>:0x0D0244EC
  1129. * Fallback turn body right button */
  1130. /* @normal <c DIBUTTON_HUNTING_DEVICE>:0x0D0044FE
  1131. * Show input device and controls */
  1132. /* @normal <c DIBUTTON_HUNTING_PAUSE>:0x0D0044FC
  1133. * Start / Pause / Restart game */
  1134. /* @doc EXTERNAL
  1135. * @Semantics Sports - Fishing |
  1136. * @normal Genre: <c 14 >
  1137. */
  1138. #define DISEM_DEFAULTDEVICE_14 { DI8DEVTYPE_GAMEPAD, DI8DEVTYPE_JOYSTICK, }
  1139. /* @normal <c DIAXIS_FISHING_LATERAL>:0x0E008201
  1140. * sidestep left/right */
  1141. /* @normal <c DIAXIS_FISHING_MOVE>:0x0E010202
  1142. * move forward/backwards */
  1143. /* @normal <c DIBUTTON_FISHING_CAST>:0x0E000401
  1144. * Cast line */
  1145. /* @normal <c DIBUTTON_FISHING_TYPE>:0x0E000402
  1146. * Select cast type */
  1147. /* @normal <c DIBUTTON_FISHING_BINOCULAR>:0x0E000403
  1148. * Look through Binocular */
  1149. /* @normal <c DIBUTTON_FISHING_BAIT>:0x0E000404
  1150. * Select type of Bait */
  1151. /* @normal <c DIBUTTON_FISHING_MAP>:0x0E000405
  1152. * View Map */
  1153. /* @normal <c DIBUTTON_FISHING_MENU>:0x0E0004FD
  1154. * Show menu options */
  1155. /*--- @normal <c Priority2 Commands> ---*/
  1156. /* @normal <c DIHATSWITCH_FISHING_GLANCE>:0x0E004601
  1157. * Look around */
  1158. /* @normal <c DIBUTTON_FISHING_DISPLAY>:0x0E004406
  1159. * Show next on-screen display option */
  1160. /* @normal <c DIAXIS_FISHING_ROTATE>:0x0E024203
  1161. * Turn character left / right */
  1162. /* @normal <c DIBUTTON_FISHING_CROUCH>:0x0E004407
  1163. * Crouch/ Climb / Swim down */
  1164. /* @normal <c DIBUTTON_FISHING_JUMP>:0x0E004408
  1165. * Jump/ Climb up / Swim up */
  1166. /* @normal <c DIBUTTON_FISHING_LEFT_LINK>:0x0E00C4E4
  1167. * Fallback sidestep left button */
  1168. /* @normal <c DIBUTTON_FISHING_RIGHT_LINK>:0x0E00C4EC
  1169. * Fallback sidestep right button */
  1170. /* @normal <c DIBUTTON_FISHING_FORWARD_LINK>:0x0E0144E0
  1171. * Fallback move forward button */
  1172. /* @normal <c DIBUTTON_FISHING_BACK_LINK>:0x0E0144E8
  1173. * Fallback move back button */
  1174. /* @normal <c DIBUTTON_FISHING_ROTATE_LEFT_LINK>:0x0E0244E4
  1175. * Fallback turn body left button */
  1176. /* @normal <c DIBUTTON_FISHING_ROTATE_RIGHT_LINK>:0x0E0244EC
  1177. * Fallback turn body right button */
  1178. /* @normal <c DIBUTTON_FISHING_DEVICE>:0x0E0044FE
  1179. * Show input device and controls */
  1180. /* @normal <c DIBUTTON_FISHING_PAUSE>:0x0E0044FC
  1181. * Start / Pause / Restart game */
  1182. /* @doc EXTERNAL
  1183. * @Semantics Sports - Baseball - Batting |
  1184. * @normal Genre: <c 15 >
  1185. */
  1186. #define DISEM_DEFAULTDEVICE_15 { DI8DEVTYPE_GAMEPAD, DI8DEVTYPE_JOYSTICK, }
  1187. /* @normal <c DIAXIS_BASEBALLB_LATERAL>:0x0F008201
  1188. * Aim left / right */
  1189. /* @normal <c DIAXIS_BASEBALLB_MOVE>:0x0F010202
  1190. * Aim up / down */
  1191. /* @normal <c DIBUTTON_BASEBALLB_SELECT>:0x0F000401
  1192. * cycle through swing options */
  1193. /* @normal <c DIBUTTON_BASEBALLB_NORMAL>:0x0F000402
  1194. * normal swing */
  1195. /* @normal <c DIBUTTON_BASEBALLB_POWER>:0x0F000403
  1196. * swing for the fence */
  1197. /* @normal <c DIBUTTON_BASEBALLB_BUNT>:0x0F000404
  1198. * bunt */
  1199. /* @normal <c DIBUTTON_BASEBALLB_STEAL>:0x0F000405
  1200. * Base runner attempts to steal a base */
  1201. /* @normal <c DIBUTTON_BASEBALLB_BURST>:0x0F000406
  1202. * Base runner invokes burst of speed */
  1203. /* @normal <c DIBUTTON_BASEBALLB_SLIDE>:0x0F000407
  1204. * Base runner slides into base */
  1205. /* @normal <c DIBUTTON_BASEBALLB_CONTACT>:0x0F000408
  1206. * Contact swing */
  1207. /* @normal <c DIBUTTON_BASEBALLB_MENU>:0x0F0004FD
  1208. * Show menu options */
  1209. /*--- @normal <c Priority2 Commands> ---*/
  1210. /* @normal <c DIBUTTON_BASEBALLB_NOSTEAL>:0x0F004409
  1211. * Base runner goes back to a base */
  1212. /* @normal <c DIBUTTON_BASEBALLB_BOX>:0x0F00440A
  1213. * Enter or exit batting box */
  1214. /* @normal <c DIBUTTON_BASEBALLB_LEFT_LINK>:0x0F00C4E4
  1215. * Fallback sidestep left button */
  1216. /* @normal <c DIBUTTON_BASEBALLB_RIGHT_LINK>:0x0F00C4EC
  1217. * Fallback sidestep right button */
  1218. /* @normal <c DIBUTTON_BASEBALLB_FORWARD_LINK>:0x0F0144E0
  1219. * Fallback move forward button */
  1220. /* @normal <c DIBUTTON_BASEBALLB_BACK_LINK>:0x0F0144E8
  1221. * Fallback move back button */
  1222. /* @normal <c DIBUTTON_BASEBALLB_DEVICE>:0x0F0044FE
  1223. * Show input device and controls */
  1224. /* @normal <c DIBUTTON_BASEBALLB_PAUSE>:0x0F0044FC
  1225. * Start / Pause / Restart game */
  1226. /* @doc EXTERNAL
  1227. * @Semantics Sports - Baseball - Pitching |
  1228. * @normal Genre: <c 16 >
  1229. */
  1230. #define DISEM_DEFAULTDEVICE_16 { DI8DEVTYPE_GAMEPAD, DI8DEVTYPE_JOYSTICK, }
  1231. /* @normal <c DIAXIS_BASEBALLP_LATERAL>:0x10008201
  1232. * Aim left / right */
  1233. /* @normal <c DIAXIS_BASEBALLP_MOVE>:0x10010202
  1234. * Aim up / down */
  1235. /* @normal <c DIBUTTON_BASEBALLP_SELECT>:0x10000401
  1236. * cycle through pitch selections */
  1237. /* @normal <c DIBUTTON_BASEBALLP_PITCH>:0x10000402
  1238. * throw pitch */
  1239. /* @normal <c DIBUTTON_BASEBALLP_BASE>:0x10000403
  1240. * select base to throw to */
  1241. /* @normal <c DIBUTTON_BASEBALLP_THROW>:0x10000404
  1242. * throw to base */
  1243. /* @normal <c DIBUTTON_BASEBALLP_FAKE>:0x10000405
  1244. * Fake a throw to a base */
  1245. /* @normal <c DIBUTTON_BASEBALLP_MENU>:0x100004FD
  1246. * Show menu options */
  1247. /*--- @normal <c Priority2 Commands> ---*/
  1248. /* @normal <c DIBUTTON_BASEBALLP_WALK>:0x10004406
  1249. * Throw intentional walk / pitch out */
  1250. /* @normal <c DIBUTTON_BASEBALLP_LOOK>:0x10004407
  1251. * Look at runners on bases */
  1252. /* @normal <c DIBUTTON_BASEBALLP_LEFT_LINK>:0x1000C4E4
  1253. * Fallback sidestep left button */
  1254. /* @normal <c DIBUTTON_BASEBALLP_RIGHT_LINK>:0x1000C4EC
  1255. * Fallback sidestep right button */
  1256. /* @normal <c DIBUTTON_BASEBALLP_FORWARD_LINK>:0x100144E0
  1257. * Fallback move forward button */
  1258. /* @normal <c DIBUTTON_BASEBALLP_BACK_LINK>:0x100144E8
  1259. * Fallback move back button */
  1260. /* @normal <c DIBUTTON_BASEBALLP_DEVICE>:0x100044FE
  1261. * Show input device and controls */
  1262. /* @normal <c DIBUTTON_BASEBALLP_PAUSE>:0x100044FC
  1263. * Start / Pause / Restart game */
  1264. /* @doc EXTERNAL
  1265. * @Semantics Sports - Baseball - Fielding |
  1266. * @normal Genre: <c 17 >
  1267. */
  1268. #define DISEM_DEFAULTDEVICE_17 { DI8DEVTYPE_GAMEPAD, DI8DEVTYPE_JOYSTICK, }
  1269. /* @normal <c DIAXIS_BASEBALLF_LATERAL>:0x11008201
  1270. * Aim left / right */
  1271. /* @normal <c DIAXIS_BASEBALLF_MOVE>:0x11010202
  1272. * Aim up / down */
  1273. /* @normal <c DIBUTTON_BASEBALLF_NEAREST>:0x11000401
  1274. * Switch to fielder nearest to the ball */
  1275. /* @normal <c DIBUTTON_BASEBALLF_THROW1>:0x11000402
  1276. * Make conservative throw */
  1277. /* @normal <c DIBUTTON_BASEBALLF_THROW2>:0x11000403
  1278. * Make aggressive throw */
  1279. /* @normal <c DIBUTTON_BASEBALLF_BURST>:0x11000404
  1280. * Invoke burst of speed */
  1281. /* @normal <c DIBUTTON_BASEBALLF_JUMP>:0x11000405
  1282. * Jump to catch ball */
  1283. /* @normal <c DIBUTTON_BASEBALLF_DIVE>:0x11000406
  1284. * Dive to catch ball */
  1285. /* @normal <c DIBUTTON_BASEBALLF_MENU>:0x110004FD
  1286. * Show menu options */
  1287. /*--- @normal <c Priority2 Commands> ---*/
  1288. /* @normal <c DIBUTTON_BASEBALLF_SHIFTIN>:0x11004407
  1289. * Shift the infield positioning */
  1290. /* @normal <c DIBUTTON_BASEBALLF_SHIFTOUT>:0x11004408
  1291. * Shift the outfield positioning */
  1292. /* @normal <c DIBUTTON_BASEBALLF_AIM_LEFT_LINK>:0x1100C4E4
  1293. * Fallback aim left button */
  1294. /* @normal <c DIBUTTON_BASEBALLF_AIM_RIGHT_LINK>:0x1100C4EC
  1295. * Fallback aim right button */
  1296. /* @normal <c DIBUTTON_BASEBALLF_FORWARD_LINK>:0x110144E0
  1297. * Fallback move forward button */
  1298. /* @normal <c DIBUTTON_BASEBALLF_BACK_LINK>:0x110144E8
  1299. * Fallback move back button */
  1300. /* @normal <c DIBUTTON_BASEBALLF_DEVICE>:0x110044FE
  1301. * Show input device and controls */
  1302. /* @normal <c DIBUTTON_BASEBALLF_PAUSE>:0x110044FC
  1303. * Start / Pause / Restart game */
  1304. /* @doc EXTERNAL
  1305. * @Semantics Sports - Basketball - Offense |
  1306. * @normal Genre: <c 18 >
  1307. */
  1308. #define DISEM_DEFAULTDEVICE_18 { DI8DEVTYPE_GAMEPAD, DI8DEVTYPE_JOYSTICK, }
  1309. /* @normal <c DIAXIS_BBALLO_LATERAL>:0x12008201
  1310. * left / right */
  1311. /* @normal <c DIAXIS_BBALLO_MOVE>:0x12010202
  1312. * up / down */
  1313. /* @normal <c DIBUTTON_BBALLO_SHOOT>:0x12000401
  1314. * shoot basket */
  1315. /* @normal <c DIBUTTON_BBALLO_DUNK>:0x12000402
  1316. * dunk basket */
  1317. /* @normal <c DIBUTTON_BBALLO_PASS>:0x12000403
  1318. * throw pass */
  1319. /* @normal <c DIBUTTON_BBALLO_FAKE>:0x12000404
  1320. * fake shot or pass */
  1321. /* @normal <c DIBUTTON_BBALLO_SPECIAL>:0x12000405
  1322. * apply special move */
  1323. /* @normal <c DIBUTTON_BBALLO_PLAYER>:0x12000406
  1324. * select next player */
  1325. /* @normal <c DIBUTTON_BBALLO_BURST>:0x12000407
  1326. * invoke burst */
  1327. /* @normal <c DIBUTTON_BBALLO_CALL>:0x12000408
  1328. * call for ball / pass to me */
  1329. /* @normal <c DIBUTTON_BBALLO_MENU>:0x120004FD
  1330. * Show menu options */
  1331. /*--- @normal <c Priority2 Commands> ---*/
  1332. /* @normal <c DIHATSWITCH_BBALLO_GLANCE>:0x12004601
  1333. * scroll view */
  1334. /* @normal <c DIBUTTON_BBALLO_SCREEN>:0x12004409
  1335. * Call for screen */
  1336. /* @normal <c DIBUTTON_BBALLO_PLAY>:0x1200440A
  1337. * Call for specific offensive play */
  1338. /* @normal <c DIBUTTON_BBALLO_JAB>:0x1200440B
  1339. * Initiate fake drive to basket */
  1340. /* @normal <c DIBUTTON_BBALLO_POST>:0x1200440C
  1341. * Perform post move */
  1342. /* @normal <c DIBUTTON_BBALLO_TIMEOUT>:0x1200440D
  1343. * Time Out */
  1344. /* @normal <c DIBUTTON_BBALLO_SUBSTITUTE>:0x1200440E
  1345. * substitute one player for another */
  1346. /* @normal <c DIBUTTON_BBALLO_LEFT_LINK>:0x1200C4E4
  1347. * Fallback sidestep left button */
  1348. /* @normal <c DIBUTTON_BBALLO_RIGHT_LINK>:0x1200C4EC
  1349. * Fallback sidestep right button */
  1350. /* @normal <c DIBUTTON_BBALLO_FORWARD_LINK>:0x120144E0
  1351. * Fallback move forward button */
  1352. /* @normal <c DIBUTTON_BBALLO_BACK_LINK>:0x120144E8
  1353. * Fallback move back button */
  1354. /* @normal <c DIBUTTON_BBALLO_DEVICE>:0x120044FE
  1355. * Show input device and controls */
  1356. /* @normal <c DIBUTTON_BBALLO_PAUSE>:0x120044FC
  1357. * Start / Pause / Restart game */
  1358. /* @doc EXTERNAL
  1359. * @Semantics Sports - Basketball - Defense |
  1360. * @normal Genre: <c 19 >
  1361. */
  1362. #define DISEM_DEFAULTDEVICE_19 { DI8DEVTYPE_GAMEPAD, DI8DEVTYPE_JOYSTICK, }
  1363. /* @normal <c DIAXIS_BBALLD_LATERAL>:0x13008201
  1364. * left / right */
  1365. /* @normal <c DIAXIS_BBALLD_MOVE>:0x13010202
  1366. * up / down */
  1367. /* @normal <c DIBUTTON_BBALLD_JUMP>:0x13000401
  1368. * jump to block shot */
  1369. /* @normal <c DIBUTTON_BBALLD_STEAL>:0x13000402
  1370. * attempt to steal ball */
  1371. /* @normal <c DIBUTTON_BBALLD_FAKE>:0x13000403
  1372. * fake block or steal */
  1373. /* @normal <c DIBUTTON_BBALLD_SPECIAL>:0x13000404
  1374. * apply special move */
  1375. /* @normal <c DIBUTTON_BBALLD_PLAYER>:0x13000405
  1376. * select next player */
  1377. /* @normal <c DIBUTTON_BBALLD_BURST>:0x13000406
  1378. * invoke burst */
  1379. /* @normal <c DIBUTTON_BBALLD_PLAY>:0x13000407
  1380. * call for specific defensive play */
  1381. /* @normal <c DIBUTTON_BBALLD_MENU>:0x130004FD
  1382. * Show menu options */
  1383. /*--- @normal <c Priority2 Commands> ---*/
  1384. /* @normal <c DIHATSWITCH_BBALLD_GLANCE>:0x13004601
  1385. * scroll view */
  1386. /* @normal <c DIBUTTON_BBALLD_TIMEOUT>:0x13004408
  1387. * Time Out */
  1388. /* @normal <c DIBUTTON_BBALLD_SUBSTITUTE>:0x13004409
  1389. * substitute one player for another */
  1390. /* @normal <c DIBUTTON_BBALLD_LEFT_LINK>:0x1300C4E4
  1391. * Fallback sidestep left button */
  1392. /* @normal <c DIBUTTON_BBALLD_RIGHT_LINK>:0x1300C4EC
  1393. * Fallback sidestep right button */
  1394. /* @normal <c DIBUTTON_BBALLD_FORWARD_LINK>:0x130144E0
  1395. * Fallback move forward button */
  1396. /* @normal <c DIBUTTON_BBALLD_BACK_LINK>:0x130144E8
  1397. * Fallback move back button */
  1398. /* @normal <c DIBUTTON_BBALLD_DEVICE>:0x130044FE
  1399. * Show input device and controls */
  1400. /* @normal <c DIBUTTON_BBALLD_PAUSE>:0x130044FC
  1401. * Start / Pause / Restart game */
  1402. /* @doc EXTERNAL
  1403. * @Semantics Sports - Football - Play |
  1404. * @normal Genre: <c 20 >
  1405. */
  1406. #define DISEM_DEFAULTDEVICE_20 { DI8DEVTYPE_GAMEPAD, DI8DEVTYPE_JOYSTICK, }
  1407. /* @normal <c DIBUTTON_FOOTBALLP_PLAY>:0x14000401
  1408. * cycle through available plays */
  1409. /* @normal <c DIBUTTON_FOOTBALLP_SELECT>:0x14000402
  1410. * select play */
  1411. /* @normal <c DIBUTTON_FOOTBALLP_HELP>:0x14000403
  1412. * Bring up pop-up help */
  1413. /* @normal <c DIBUTTON_FOOTBALLP_MENU>:0x140004FD
  1414. * Show menu options */
  1415. /*--- @normal <c Priority2 Commands> ---*/
  1416. /* @normal <c DIBUTTON_FOOTBALLP_DEVICE>:0x140044FE
  1417. * Show input device and controls */
  1418. /* @normal <c DIBUTTON_FOOTBALLP_PAUSE>:0x140044FC
  1419. * Start / Pause / Restart game */
  1420. /* @doc EXTERNAL
  1421. * @Semantics Sports - Football - QB |
  1422. * @normal Genre: <c 21 >
  1423. */
  1424. #define DISEM_DEFAULTDEVICE_21 { DI8DEVTYPE_GAMEPAD, DI8DEVTYPE_JOYSTICK, }
  1425. /* @normal <c DIAXIS_FOOTBALLQ_LATERAL>:0x15008201
  1426. * Move / Aim: left / right */
  1427. /* @normal <c DIAXIS_FOOTBALLQ_MOVE>:0x15010202
  1428. * Move / Aim: up / down */
  1429. /* @normal <c DIBUTTON_FOOTBALLQ_SELECT>:0x15000401
  1430. * Select */
  1431. /* @normal <c DIBUTTON_FOOTBALLQ_SNAP>:0x15000402
  1432. * snap ball - start play */
  1433. /* @normal <c DIBUTTON_FOOTBALLQ_JUMP>:0x15000403
  1434. * jump over defender */
  1435. /* @normal <c DIBUTTON_FOOTBALLQ_SLIDE>:0x15000404
  1436. * Dive/Slide */
  1437. /* @normal <c DIBUTTON_FOOTBALLQ_PASS>:0x15000405
  1438. * throws pass to receiver */
  1439. /* @normal <c DIBUTTON_FOOTBALLQ_FAKE>:0x15000406
  1440. * pump fake pass or fake kick */
  1441. /* @normal <c DIBUTTON_FOOTBALLQ_MENU>:0x150004FD
  1442. * Show menu options */
  1443. /*--- @normal <c Priority2 Commands> ---*/
  1444. /* @normal <c DIBUTTON_FOOTBALLQ_FAKESNAP>:0x15004407
  1445. * Fake snap */
  1446. /* @normal <c DIBUTTON_FOOTBALLQ_MOTION>:0x15004408
  1447. * Send receivers in motion */
  1448. /* @normal <c DIBUTTON_FOOTBALLQ_AUDIBLE>:0x15004409
  1449. * Change offensive play at line of scrimmage */
  1450. /* @normal <c DIBUTTON_FOOTBALLQ_LEFT_LINK>:0x1500C4E4
  1451. * Fallback sidestep left button */
  1452. /* @normal <c DIBUTTON_FOOTBALLQ_RIGHT_LINK>:0x1500C4EC
  1453. * Fallback sidestep right button */
  1454. /* @normal <c DIBUTTON_FOOTBALLQ_FORWARD_LINK>:0x150144E0
  1455. * Fallback move forward button */
  1456. /* @normal <c DIBUTTON_FOOTBALLQ_BACK_LINK>:0x150144E8
  1457. * Fallback move back button */
  1458. /* @normal <c DIBUTTON_FOOTBALLQ_DEVICE>:0x150044FE
  1459. * Show input device and controls */
  1460. /* @normal <c DIBUTTON_FOOTBALLQ_PAUSE>:0x150044FC
  1461. * Start / Pause / Restart game */
  1462. /* @doc EXTERNAL
  1463. * @Semantics Sports - Football - Offense |
  1464. * @normal Genre: <c 22 >
  1465. */
  1466. #define DISEM_DEFAULTDEVICE_22 { DI8DEVTYPE_GAMEPAD, DI8DEVTYPE_JOYSTICK, }
  1467. /* @normal <c DIAXIS_FOOTBALLO_LATERAL>:0x16008201
  1468. * Move / Aim: left / right */
  1469. /* @normal <c DIAXIS_FOOTBALLO_MOVE>:0x16010202
  1470. * Move / Aim: up / down */
  1471. /* @normal <c DIBUTTON_FOOTBALLO_JUMP>:0x16000401
  1472. * jump or hurdle over defender */
  1473. /* @normal <c DIBUTTON_FOOTBALLO_LEFTARM>:0x16000402
  1474. * holds out left arm */
  1475. /* @normal <c DIBUTTON_FOOTBALLO_RIGHTARM>:0x16000403
  1476. * holds out right arm */
  1477. /* @normal <c DIBUTTON_FOOTBALLO_THROW>:0x16000404
  1478. * throw pass or lateral ball to another runner */
  1479. /* @normal <c DIBUTTON_FOOTBALLO_SPIN>:0x16000405
  1480. * Spin to avoid defenders */
  1481. /* @normal <c DIBUTTON_FOOTBALLO_MENU>:0x160004FD
  1482. * Show menu options */
  1483. /*--- @normal <c Priority2 Commands> ---*/
  1484. /* @normal <c DIBUTTON_FOOTBALLO_JUKE>:0x16004406
  1485. * Use special move to avoid defenders */
  1486. /* @normal <c DIBUTTON_FOOTBALLO_SHOULDER>:0x16004407
  1487. * Lower shoulder to run over defenders */
  1488. /* @normal <c DIBUTTON_FOOTBALLO_TURBO>:0x16004408
  1489. * Speed burst past defenders */
  1490. /* @normal <c DIBUTTON_FOOTBALLO_DIVE>:0x16004409
  1491. * Dive over defenders */
  1492. /* @normal <c DIBUTTON_FOOTBALLO_ZOOM>:0x1600440A
  1493. * Zoom view in / out */
  1494. /* @normal <c DIBUTTON_FOOTBALLO_SUBSTITUTE>:0x1600440B
  1495. * substitute one player for another */
  1496. /* @normal <c DIBUTTON_FOOTBALLO_LEFT_LINK>:0x1600C4E4
  1497. * Fallback sidestep left button */
  1498. /* @normal <c DIBUTTON_FOOTBALLO_RIGHT_LINK>:0x1600C4EC
  1499. * Fallback sidestep right button */
  1500. /* @normal <c DIBUTTON_FOOTBALLO_FORWARD_LINK>:0x160144E0
  1501. * Fallback move forward button */
  1502. /* @normal <c DIBUTTON_FOOTBALLO_BACK_LINK>:0x160144E8
  1503. * Fallback move back button */
  1504. /* @normal <c DIBUTTON_FOOTBALLO_DEVICE>:0x160044FE
  1505. * Show input device and controls */
  1506. /* @normal <c DIBUTTON_FOOTBALLO_PAUSE>:0x160044FC
  1507. * Start / Pause / Restart game */
  1508. /* @doc EXTERNAL
  1509. * @Semantics Sports - Football - Defense |
  1510. * @normal Genre: <c 23 >
  1511. */
  1512. #define DISEM_DEFAULTDEVICE_23 { DI8DEVTYPE_GAMEPAD, DI8DEVTYPE_JOYSTICK, }
  1513. /* @normal <c DIAXIS_FOOTBALLD_LATERAL>:0x17008201
  1514. * Move / Aim: left / right */
  1515. /* @normal <c DIAXIS_FOOTBALLD_MOVE>:0x17010202
  1516. * Move / Aim: up / down */
  1517. /* @normal <c DIBUTTON_FOOTBALLD_PLAY>:0x17000401
  1518. * cycle through available plays */
  1519. /* @normal <c DIBUTTON_FOOTBALLD_SELECT>:0x17000402
  1520. * select player closest to the ball */
  1521. /* @normal <c DIBUTTON_FOOTBALLD_JUMP>:0x17000403
  1522. * jump to intercept or block */
  1523. /* @normal <c DIBUTTON_FOOTBALLD_TACKLE>:0x17000404
  1524. * tackler runner */
  1525. /* @normal <c DIBUTTON_FOOTBALLD_FAKE>:0x17000405
  1526. * hold down to fake tackle or intercept */
  1527. /* @normal <c DIBUTTON_FOOTBALLD_SUPERTACKLE>:0x17000406
  1528. * Initiate special tackle */
  1529. /* @normal <c DIBUTTON_FOOTBALLD_MENU>:0x170004FD
  1530. * Show menu options */
  1531. /*--- @normal <c Priority2 Commands> ---*/
  1532. /* @normal <c DIBUTTON_FOOTBALLD_SPIN>:0x17004407
  1533. * Spin to beat offensive line */
  1534. /* @normal <c DIBUTTON_FOOTBALLD_SWIM>:0x17004408
  1535. * Swim to beat the offensive line */
  1536. /* @normal <c DIBUTTON_FOOTBALLD_BULLRUSH>:0x17004409
  1537. * Bull rush the offensive line */
  1538. /* @normal <c DIBUTTON_FOOTBALLD_RIP>:0x1700440A
  1539. * Rip the offensive line */
  1540. /* @normal <c DIBUTTON_FOOTBALLD_AUDIBLE>:0x1700440B
  1541. * Change defensive play at the line of scrimmage */
  1542. /* @normal <c DIBUTTON_FOOTBALLD_ZOOM>:0x1700440C
  1543. * Zoom view in / out */
  1544. /* @normal <c DIBUTTON_FOOTBALLD_SUBSTITUTE>:0x1700440D
  1545. * substitute one player for another */
  1546. /* @normal <c DIBUTTON_FOOTBALLD_LEFT_LINK>:0x1700C4E4
  1547. * Fallback sidestep left button */
  1548. /* @normal <c DIBUTTON_FOOTBALLD_RIGHT_LINK>:0x1700C4EC
  1549. * Fallback sidestep right button */
  1550. /* @normal <c DIBUTTON_FOOTBALLD_FORWARD_LINK>:0x170144E0
  1551. * Fallback move forward button */
  1552. /* @normal <c DIBUTTON_FOOTBALLD_BACK_LINK>:0x170144E8
  1553. * Fallback move back button */
  1554. /* @normal <c DIBUTTON_FOOTBALLD_DEVICE>:0x170044FE
  1555. * Show input device and controls */
  1556. /* @normal <c DIBUTTON_FOOTBALLD_PAUSE>:0x170044FC
  1557. * Start / Pause / Restart game */
  1558. /* @doc EXTERNAL
  1559. * @Semantics Sports - Golf |
  1560. * @normal Genre: <c 24 >
  1561. */
  1562. #define DISEM_DEFAULTDEVICE_24 { DI8DEVTYPE_GAMEPAD, DI8DEVTYPE_JOYSTICK, }
  1563. /* @normal <c DIAXIS_GOLF_LATERAL>:0x18008201
  1564. * Move / Aim: left / right */
  1565. /* @normal <c DIAXIS_GOLF_MOVE>:0x18010202
  1566. * Move / Aim: up / down */
  1567. /* @normal <c DIBUTTON_GOLF_SWING>:0x18000401
  1568. * swing club */
  1569. /* @normal <c DIBUTTON_GOLF_SELECT>:0x18000402
  1570. * cycle between: club / swing strength / ball arc / ball spin */
  1571. /* @normal <c DIBUTTON_GOLF_UP>:0x18000403
  1572. * increase selection */
  1573. /* @normal <c DIBUTTON_GOLF_DOWN>:0x18000404
  1574. * decrease selection */
  1575. /* @normal <c DIBUTTON_GOLF_TERRAIN>:0x18000405
  1576. * shows terrain detail */
  1577. /* @normal <c DIBUTTON_GOLF_FLYBY>:0x18000406
  1578. * view the hole via a flyby */
  1579. /* @normal <c DIBUTTON_GOLF_MENU>:0x180004FD
  1580. * Show menu options */
  1581. /*--- @normal <c Priority2 Commands> ---*/
  1582. /* @normal <c DIHATSWITCH_GOLF_SCROLL>:0x18004601
  1583. * scroll view */
  1584. /* @normal <c DIBUTTON_GOLF_ZOOM>:0x18004407
  1585. * Zoom view in / out */
  1586. /* @normal <c DIBUTTON_GOLF_TIMEOUT>:0x18004408
  1587. * Call for time out */
  1588. /* @normal <c DIBUTTON_GOLF_SUBSTITUTE>:0x18004409
  1589. * substitute one player for another */
  1590. /* @normal <c DIBUTTON_GOLF_LEFT_LINK>:0x1800C4E4
  1591. * Fallback sidestep left button */
  1592. /* @normal <c DIBUTTON_GOLF_RIGHT_LINK>:0x1800C4EC
  1593. * Fallback sidestep right button */
  1594. /* @normal <c DIBUTTON_GOLF_FORWARD_LINK>:0x180144E0
  1595. * Fallback move forward button */
  1596. /* @normal <c DIBUTTON_GOLF_BACK_LINK>:0x180144E8
  1597. * Fallback move back button */
  1598. /* @normal <c DIBUTTON_GOLF_DEVICE>:0x180044FE
  1599. * Show input device and controls */
  1600. /* @normal <c DIBUTTON_GOLF_PAUSE>:0x180044FC
  1601. * Start / Pause / Restart game */
  1602. /* @doc EXTERNAL
  1603. * @Semantics Sports - Hockey - Offense |
  1604. * @normal Genre: <c 25 >
  1605. */
  1606. #define DISEM_DEFAULTDEVICE_25 { DI8DEVTYPE_GAMEPAD, DI8DEVTYPE_JOYSTICK, }
  1607. /* @normal <c DIAXIS_HOCKEYO_LATERAL>:0x19008201
  1608. * Move / Aim: left / right */
  1609. /* @normal <c DIAXIS_HOCKEYO_MOVE>:0x19010202
  1610. * Move / Aim: up / down */
  1611. /* @normal <c DIBUTTON_HOCKEYO_SHOOT>:0x19000401
  1612. * Shoot */
  1613. /* @normal <c DIBUTTON_HOCKEYO_PASS>:0x19000402
  1614. * pass the puck */
  1615. /* @normal <c DIBUTTON_HOCKEYO_BURST>:0x19000403
  1616. * invoke speed burst */
  1617. /* @normal <c DIBUTTON_HOCKEYO_SPECIAL>:0x19000404
  1618. * invoke special move */
  1619. /* @normal <c DIBUTTON_HOCKEYO_FAKE>:0x19000405
  1620. * hold down to fake pass or kick */
  1621. /* @normal <c DIBUTTON_HOCKEYO_MENU>:0x190004FD
  1622. * Show menu options */
  1623. /*--- @normal <c Priority2 Commands> ---*/
  1624. /* @normal <c DIHATSWITCH_HOCKEYO_SCROLL>:0x19004601
  1625. * scroll view */
  1626. /* @normal <c DIBUTTON_HOCKEYO_ZOOM>:0x19004406
  1627. * Zoom view in / out */
  1628. /* @normal <c DIBUTTON_HOCKEYO_STRATEGY>:0x19004407
  1629. * Invoke coaching menu for strategy help */
  1630. /* @normal <c DIBUTTON_HOCKEYO_TIMEOUT>:0x19004408
  1631. * Call for time out */
  1632. /* @normal <c DIBUTTON_HOCKEYO_SUBSTITUTE>:0x19004409
  1633. * substitute one player for another */
  1634. /* @normal <c DIBUTTON_HOCKEYO_LEFT_LINK>:0x1900C4E4
  1635. * Fallback sidestep left button */
  1636. /* @normal <c DIBUTTON_HOCKEYO_RIGHT_LINK>:0x1900C4EC
  1637. * Fallback sidestep right button */
  1638. /* @normal <c DIBUTTON_HOCKEYO_FORWARD_LINK>:0x190144E0
  1639. * Fallback move forward button */
  1640. /* @normal <c DIBUTTON_HOCKEYO_BACK_LINK>:0x190144E8
  1641. * Fallback move back button */
  1642. /* @normal <c DIBUTTON_HOCKEYO_DEVICE>:0x190044FE
  1643. * Show input device and controls */
  1644. /* @normal <c DIBUTTON_HOCKEYO_PAUSE>:0x190044FC
  1645. * Start / Pause / Restart game */
  1646. /* @doc EXTERNAL
  1647. * @Semantics Sports - Hockey - Defense |
  1648. * @normal Genre: <c 26 >
  1649. */
  1650. #define DISEM_DEFAULTDEVICE_26 { DI8DEVTYPE_GAMEPAD, DI8DEVTYPE_JOYSTICK, }
  1651. /* @normal <c DIAXIS_HOCKEYD_LATERAL>:0x1A008201
  1652. * Move / Aim: left / right */
  1653. /* @normal <c DIAXIS_HOCKEYD_MOVE>:0x1A010202
  1654. * Move / Aim: up / down */
  1655. /* @normal <c DIBUTTON_HOCKEYD_PLAYER>:0x1A000401
  1656. * control player closest to the puck */
  1657. /* @normal <c DIBUTTON_HOCKEYD_STEAL>:0x1A000402
  1658. * attempt steal */
  1659. /* @normal <c DIBUTTON_HOCKEYD_BURST>:0x1A000403
  1660. * speed burst or body check */
  1661. /* @normal <c DIBUTTON_HOCKEYD_BLOCK>:0x1A000404
  1662. * block puck */
  1663. /* @normal <c DIBUTTON_HOCKEYD_FAKE>:0x1A000405
  1664. * hold down to fake tackle or intercept */
  1665. /* @normal <c DIBUTTON_HOCKEYD_MENU>:0x1A0004FD
  1666. * Show menu options */
  1667. /*--- @normal <c Priority2 Commands> ---*/
  1668. /* @normal <c DIHATSWITCH_HOCKEYD_SCROLL>:0x1A004601
  1669. * scroll view */
  1670. /* @normal <c DIBUTTON_HOCKEYD_ZOOM>:0x1A004406
  1671. * Zoom view in / out */
  1672. /* @normal <c DIBUTTON_HOCKEYD_STRATEGY>:0x1A004407
  1673. * Invoke coaching menu for strategy help */
  1674. /* @normal <c DIBUTTON_HOCKEYD_TIMEOUT>:0x1A004408
  1675. * Call for time out */
  1676. /* @normal <c DIBUTTON_HOCKEYD_SUBSTITUTE>:0x1A004409
  1677. * substitute one player for another */
  1678. /* @normal <c DIBUTTON_HOCKEYD_LEFT_LINK>:0x1A00C4E4
  1679. * Fallback sidestep left button */
  1680. /* @normal <c DIBUTTON_HOCKEYD_RIGHT_LINK>:0x1A00C4EC
  1681. * Fallback sidestep right button */
  1682. /* @normal <c DIBUTTON_HOCKEYD_FORWARD_LINK>:0x1A0144E0
  1683. * Fallback move forward button */
  1684. /* @normal <c DIBUTTON_HOCKEYD_BACK_LINK>:0x1A0144E8
  1685. * Fallback move back button */
  1686. /* @normal <c DIBUTTON_HOCKEYD_DEVICE>:0x1A0044FE
  1687. * Show input device and controls */
  1688. /* @normal <c DIBUTTON_HOCKEYD_PAUSE>:0x1A0044FC
  1689. * Start / Pause / Restart game */
  1690. /* @doc EXTERNAL
  1691. * @Semantics Sports - Hockey - Goalie |
  1692. * @normal Genre: <c 27 >
  1693. */
  1694. #define DISEM_DEFAULTDEVICE_27 { DI8DEVTYPE_GAMEPAD, DI8DEVTYPE_JOYSTICK, }
  1695. /* @normal <c DIAXIS_HOCKEYG_LATERAL>:0x1B008201
  1696. * Move / Aim: left / right */
  1697. /* @normal <c DIAXIS_HOCKEYG_MOVE>:0x1B010202
  1698. * Move / Aim: up / down */
  1699. /* @normal <c DIBUTTON_HOCKEYG_PASS>:0x1B000401
  1700. * pass puck */
  1701. /* @normal <c DIBUTTON_HOCKEYG_POKE>:0x1B000402
  1702. * poke / check / hack */
  1703. /* @normal <c DIBUTTON_HOCKEYG_STEAL>:0x1B000403
  1704. * attempt steal */
  1705. /* @normal <c DIBUTTON_HOCKEYG_BLOCK>:0x1B000404
  1706. * block puck */
  1707. /* @normal <c DIBUTTON_HOCKEYG_MENU>:0x1B0004FD
  1708. * Show menu options */
  1709. /*--- @normal <c Priority2 Commands> ---*/
  1710. /* @normal <c DIHATSWITCH_HOCKEYG_SCROLL>:0x1B004601
  1711. * scroll view */
  1712. /* @normal <c DIBUTTON_HOCKEYG_ZOOM>:0x1B004405
  1713. * Zoom view in / out */
  1714. /* @normal <c DIBUTTON_HOCKEYG_STRATEGY>:0x1B004406
  1715. * Invoke coaching menu for strategy help */
  1716. /* @normal <c DIBUTTON_HOCKEYG_TIMEOUT>:0x1B004407
  1717. * Call for time out */
  1718. /* @normal <c DIBUTTON_HOCKEYG_SUBSTITUTE>:0x1B004408
  1719. * substitute one player for another */
  1720. /* @normal <c DIBUTTON_HOCKEYG_LEFT_LINK>:0x1B00C4E4
  1721. * Fallback sidestep left button */
  1722. /* @normal <c DIBUTTON_HOCKEYG_RIGHT_LINK>:0x1B00C4EC
  1723. * Fallback sidestep right button */
  1724. /* @normal <c DIBUTTON_HOCKEYG_FORWARD_LINK>:0x1B0144E0
  1725. * Fallback move forward button */
  1726. /* @normal <c DIBUTTON_HOCKEYG_BACK_LINK>:0x1B0144E8
  1727. * Fallback move back button */
  1728. /* @normal <c DIBUTTON_HOCKEYG_DEVICE>:0x1B0044FE
  1729. * Show input device and controls */
  1730. /* @normal <c DIBUTTON_HOCKEYG_PAUSE>:0x1B0044FC
  1731. * Start / Pause / Restart game */
  1732. /* @doc EXTERNAL
  1733. * @Semantics Sports - Mountain Biking |
  1734. * @normal Genre: <c 28 >
  1735. */
  1736. #define DISEM_DEFAULTDEVICE_28 { DI8DEVTYPE_JOYSTICK, DI8DEVTYPE_GAMEPAD, }
  1737. /* @normal <c DIAXIS_BIKINGM_TURN>:0x1C008201
  1738. * left / right */
  1739. /* @normal <c DIAXIS_BIKINGM_PEDAL>:0x1C010202
  1740. * Pedal faster / slower / brake */
  1741. /* @normal <c DIBUTTON_BIKINGM_JUMP>:0x1C000401
  1742. * jump over obstacle */
  1743. /* @normal <c DIBUTTON_BIKINGM_CAMERA>:0x1C000402
  1744. * switch camera view */
  1745. /* @normal <c DIBUTTON_BIKINGM_SPECIAL1>:0x1C000403
  1746. * perform first special move */
  1747. /* @normal <c DIBUTTON_BIKINGM_SELECT>:0x1C000404
  1748. * Select */
  1749. /* @normal <c DIBUTTON_BIKINGM_SPECIAL2>:0x1C000405
  1750. * perform second special move */
  1751. /* @normal <c DIBUTTON_BIKINGM_MENU>:0x1C0004FD
  1752. * Show menu options */
  1753. /*--- @normal <c Priority2 Commands> ---*/
  1754. /* @normal <c DIHATSWITCH_BIKINGM_SCROLL>:0x1C004601
  1755. * scroll view */
  1756. /* @normal <c DIBUTTON_BIKINGM_ZOOM>:0x1C004406
  1757. * Zoom view in / out */
  1758. /* @normal <c DIAXIS_BIKINGM_BRAKE>:0x1C044203
  1759. * Brake axis */
  1760. /* @normal <c DIBUTTON_BIKINGM_LEFT_LINK>:0x1C00C4E4
  1761. * Fallback turn left button */
  1762. /* @normal <c DIBUTTON_BIKINGM_RIGHT_LINK>:0x1C00C4EC
  1763. * Fallback turn right button */
  1764. /* @normal <c DIBUTTON_BIKINGM_FASTER_LINK>:0x1C0144E0
  1765. * Fallback pedal faster button */
  1766. /* @normal <c DIBUTTON_BIKINGM_SLOWER_LINK>:0x1C0144E8
  1767. * Fallback pedal slower button */
  1768. /* @normal <c DIBUTTON_BIKINGM_BRAKE_BUTTON_LINK>:0x1C0444E8
  1769. * Fallback brake button */
  1770. /* @normal <c DIBUTTON_BIKINGM_DEVICE>:0x1C0044FE
  1771. * Show input device and controls */
  1772. /* @normal <c DIBUTTON_BIKINGM_PAUSE>:0x1C0044FC
  1773. * Start / Pause / Restart game */
  1774. /* @doc EXTERNAL
  1775. * @Semantics Sports: Skiing / Snowboarding / Skateboarding |
  1776. * @normal Genre: <c 29 >
  1777. */
  1778. #define DISEM_DEFAULTDEVICE_29 { DI8DEVTYPE_JOYSTICK, DI8DEVTYPE_GAMEPAD , }
  1779. /* @normal <c DIAXIS_SKIING_TURN>:0x1D008201
  1780. * left / right */
  1781. /* @normal <c DIAXIS_SKIING_SPEED>:0x1D010202
  1782. * faster / slower */
  1783. /* @normal <c DIBUTTON_SKIING_JUMP>:0x1D000401
  1784. * Jump */
  1785. /* @normal <c DIBUTTON_SKIING_CROUCH>:0x1D000402
  1786. * crouch down */
  1787. /* @normal <c DIBUTTON_SKIING_CAMERA>:0x1D000403
  1788. * switch camera view */
  1789. /* @normal <c DIBUTTON_SKIING_SPECIAL1>:0x1D000404
  1790. * perform first special move */
  1791. /* @normal <c DIBUTTON_SKIING_SELECT>:0x1D000405
  1792. * Select */
  1793. /* @normal <c DIBUTTON_SKIING_SPECIAL2>:0x1D000406
  1794. * perform second special move */
  1795. /* @normal <c DIBUTTON_SKIING_MENU>:0x1D0004FD
  1796. * Show menu options */
  1797. /*--- @normal <c Priority2 Commands> ---*/
  1798. /* @normal <c DIHATSWITCH_SKIING_GLANCE>:0x1D004601
  1799. * scroll view */
  1800. /* @normal <c DIBUTTON_SKIING_ZOOM>:0x1D004407
  1801. * Zoom view in / out */
  1802. /* @normal <c DIBUTTON_SKIING_LEFT_LINK>:0x1D00C4E4
  1803. * Fallback turn left button */
  1804. /* @normal <c DIBUTTON_SKIING_RIGHT_LINK>:0x1D00C4EC
  1805. * Fallback turn right button */
  1806. /* @normal <c DIBUTTON_SKIING_FASTER_LINK>:0x1D0144E0
  1807. * Fallback increase speed button */
  1808. /* @normal <c DIBUTTON_SKIING_SLOWER_LINK>:0x1D0144E8
  1809. * Fallback decrease speed button */
  1810. /* @normal <c DIBUTTON_SKIING_DEVICE>:0x1D0044FE
  1811. * Show input device and controls */
  1812. /* @normal <c DIBUTTON_SKIING_PAUSE>:0x1D0044FC
  1813. * Start / Pause / Restart game */
  1814. /* @doc EXTERNAL
  1815. * @Semantics Sports - Soccer - Offense |
  1816. * @normal Genre: <c 30 >
  1817. */
  1818. #define DISEM_DEFAULTDEVICE_30 { DI8DEVTYPE_GAMEPAD, DI8DEVTYPE_JOYSTICK, }
  1819. /* @normal <c DIAXIS_SOCCERO_LATERAL>:0x1E008201
  1820. * Move / Aim: left / right */
  1821. /* @normal <c DIAXIS_SOCCERO_MOVE>:0x1E010202
  1822. * Move / Aim: up / down */
  1823. /* @normal <c DIAXIS_SOCCERO_BEND>:0x1E018203
  1824. * Bend to soccer shot/pass */
  1825. /* @normal <c DIBUTTON_SOCCERO_SHOOT>:0x1E000401
  1826. * Shoot the ball */
  1827. /* @normal <c DIBUTTON_SOCCERO_PASS>:0x1E000402
  1828. * Pass */
  1829. /* @normal <c DIBUTTON_SOCCERO_FAKE>:0x1E000403
  1830. * Fake */
  1831. /* @normal <c DIBUTTON_SOCCERO_PLAYER>:0x1E000404
  1832. * Select next player */
  1833. /* @normal <c DIBUTTON_SOCCERO_SPECIAL1>:0x1E000405
  1834. * Apply special move */
  1835. /* @normal <c DIBUTTON_SOCCERO_SELECT>:0x1E000406
  1836. * Select special move */
  1837. /* @normal <c DIBUTTON_SOCCERO_MENU>:0x1E0004FD
  1838. * Show menu options */
  1839. /*--- @normal <c Priority2 Commands> ---*/
  1840. /* @normal <c DIHATSWITCH_SOCCERO_GLANCE>:0x1E004601
  1841. * scroll view */
  1842. /* @normal <c DIBUTTON_SOCCERO_SUBSTITUTE>:0x1E004407
  1843. * Substitute one player for another */
  1844. /* @normal <c DIBUTTON_SOCCERO_SHOOTLOW>:0x1E004408
  1845. * Shoot the ball low */
  1846. /* @normal <c DIBUTTON_SOCCERO_SHOOTHIGH>:0x1E004409
  1847. * Shoot the ball high */
  1848. /* @normal <c DIBUTTON_SOCCERO_PASSTHRU>:0x1E00440A
  1849. * Make a thru pass */
  1850. /* @normal <c DIBUTTON_SOCCERO_SPRINT>:0x1E00440B
  1851. * Sprint / turbo boost */
  1852. /* @normal <c DIBUTTON_SOCCERO_CONTROL>:0x1E00440C
  1853. * Obtain control of the ball */
  1854. /* @normal <c DIBUTTON_SOCCERO_HEAD>:0x1E00440D
  1855. * Attempt to head the ball */
  1856. /* @normal <c DIBUTTON_SOCCERO_LEFT_LINK>:0x1E00C4E4
  1857. * Fallback sidestep left button */
  1858. /* @normal <c DIBUTTON_SOCCERO_RIGHT_LINK>:0x1E00C4EC
  1859. * Fallback sidestep right button */
  1860. /* @normal <c DIBUTTON_SOCCERO_FORWARD_LINK>:0x1E0144E0
  1861. * Fallback move forward button */
  1862. /* @normal <c DIBUTTON_SOCCERO_BACK_LINK>:0x1E0144E8
  1863. * Fallback move back button */
  1864. /* @normal <c DIBUTTON_SOCCERO_DEVICE>:0x1E0044FE
  1865. * Show input device and controls */
  1866. /* @normal <c DIBUTTON_SOCCERO_PAUSE>:0x1E0044FC
  1867. * Start / Pause / Restart game */
  1868. /* @doc EXTERNAL
  1869. * @Semantics Sports - Soccer - Defense |
  1870. * @normal Genre: <c 31 >
  1871. */
  1872. #define DISEM_DEFAULTDEVICE_31 { DI8DEVTYPE_GAMEPAD, DI8DEVTYPE_JOYSTICK, }
  1873. /* @normal <c DIAXIS_SOCCERD_LATERAL>:0x1F008201
  1874. * Move / Aim: left / right */
  1875. /* @normal <c DIAXIS_SOCCERD_MOVE>:0x1F010202
  1876. * Move / Aim: up / down */
  1877. /* @normal <c DIBUTTON_SOCCERD_BLOCK>:0x1F000401
  1878. * Attempt to block shot */
  1879. /* @normal <c DIBUTTON_SOCCERD_STEAL>:0x1F000402
  1880. * Attempt to steal ball */
  1881. /* @normal <c DIBUTTON_SOCCERD_FAKE>:0x1F000403
  1882. * Fake a block or a steal */
  1883. /* @normal <c DIBUTTON_SOCCERD_PLAYER>:0x1F000404
  1884. * Select next player */
  1885. /* @normal <c DIBUTTON_SOCCERD_SPECIAL>:0x1F000405
  1886. * Apply special move */
  1887. /* @normal <c DIBUTTON_SOCCERD_SELECT>:0x1F000406
  1888. * Select special move */
  1889. /* @normal <c DIBUTTON_SOCCERD_SLIDE>:0x1F000407
  1890. * Attempt a slide tackle */
  1891. /* @normal <c DIBUTTON_SOCCERD_MENU>:0x1F0004FD
  1892. * Show menu options */
  1893. /*--- @normal <c Priority2 Commands> ---*/
  1894. /* @normal <c DIHATSWITCH_SOCCERD_GLANCE>:0x1F004601
  1895. * scroll view */
  1896. /* @normal <c DIBUTTON_SOCCERD_FOUL>:0x1F004408
  1897. * Initiate a foul / hard-foul */
  1898. /* @normal <c DIBUTTON_SOCCERD_HEAD>:0x1F004409
  1899. * Attempt a Header */
  1900. /* @normal <c DIBUTTON_SOCCERD_CLEAR>:0x1F00440A
  1901. * Attempt to clear the ball down the field */
  1902. /* @normal <c DIBUTTON_SOCCERD_GOALIECHARGE>:0x1F00440B
  1903. * Make the goalie charge out of the box */
  1904. /* @normal <c DIBUTTON_SOCCERD_SUBSTITUTE>:0x1F00440C
  1905. * Substitute one player for another */
  1906. /* @normal <c DIBUTTON_SOCCERD_LEFT_LINK>:0x1F00C4E4
  1907. * Fallback sidestep left button */
  1908. /* @normal <c DIBUTTON_SOCCERD_RIGHT_LINK>:0x1F00C4EC
  1909. * Fallback sidestep right button */
  1910. /* @normal <c DIBUTTON_SOCCERD_FORWARD_LINK>:0x1F0144E0
  1911. * Fallback move forward button */
  1912. /* @normal <c DIBUTTON_SOCCERD_BACK_LINK>:0x1F0144E8
  1913. * Fallback move back button */
  1914. /* @normal <c DIBUTTON_SOCCERD_DEVICE>:0x1F0044FE
  1915. * Show input device and controls */
  1916. /* @normal <c DIBUTTON_SOCCERD_PAUSE>:0x1F0044FC
  1917. * Start / Pause / Restart game */
  1918. /* @doc EXTERNAL
  1919. * @Semantics Sports - Racquet |
  1920. * @normal Genre: <c 32 >
  1921. */
  1922. #define DISEM_DEFAULTDEVICE_32 { DI8DEVTYPE_GAMEPAD, DI8DEVTYPE_JOYSTICK, }
  1923. /* @normal <c DIAXIS_RACQUET_LATERAL>:0x20008201
  1924. * Move / Aim: left / right */
  1925. /* @normal <c DIAXIS_RACQUET_MOVE>:0x20010202
  1926. * Move / Aim: up / down */
  1927. /* @normal <c DIBUTTON_RACQUET_SWING>:0x20000401
  1928. * Swing racquet */
  1929. /* @normal <c DIBUTTON_RACQUET_BACKSWING>:0x20000402
  1930. * Swing backhand */
  1931. /* @normal <c DIBUTTON_RACQUET_SMASH>:0x20000403
  1932. * Smash shot */
  1933. /* @normal <c DIBUTTON_RACQUET_SPECIAL>:0x20000404
  1934. * Special shot */
  1935. /* @normal <c DIBUTTON_RACQUET_SELECT>:0x20000405
  1936. * Select special shot */
  1937. /* @normal <c DIBUTTON_RACQUET_MENU>:0x200004FD
  1938. * Show menu options */
  1939. /*--- @normal <c Priority2 Commands> ---*/
  1940. /* @normal <c DIHATSWITCH_RACQUET_GLANCE>:0x20004601
  1941. * scroll view */
  1942. /* @normal <c DIBUTTON_RACQUET_TIMEOUT>:0x20004406
  1943. * Call for time out */
  1944. /* @normal <c DIBUTTON_RACQUET_SUBSTITUTE>:0x20004407
  1945. * Substitute one player for another */
  1946. /* @normal <c DIBUTTON_RACQUET_LEFT_LINK>:0x2000C4E4
  1947. * Fallback sidestep left button */
  1948. /* @normal <c DIBUTTON_RACQUET_RIGHT_LINK>:0x2000C4EC
  1949. * Fallback sidestep right button */
  1950. /* @normal <c DIBUTTON_RACQUET_FORWARD_LINK>:0x200144E0
  1951. * Fallback move forward button */
  1952. /* @normal <c DIBUTTON_RACQUET_BACK_LINK>:0x200144E8
  1953. * Fallback move back button */
  1954. /* @normal <c DIBUTTON_RACQUET_DEVICE>:0x200044FE
  1955. * Show input device and controls */
  1956. /* @normal <c DIBUTTON_RACQUET_PAUSE>:0x200044FC
  1957. * Start / Pause / Restart game */
  1958. /* @doc EXTERNAL
  1959. * @Semantics Arcade- 2D |
  1960. * @normal Genre: <c 33 >
  1961. */
  1962. #define DISEM_DEFAULTDEVICE_33 { DI8DEVTYPE_GAMEPAD, DI8DEVTYPE_JOYSTICK, }
  1963. /* @normal <c DIAXIS_ARCADES_LATERAL>:0x21008201
  1964. * left / right */
  1965. /* @normal <c DIAXIS_ARCADES_MOVE>:0x21010202
  1966. * up / down */
  1967. /* @normal <c DIBUTTON_ARCADES_THROW>:0x21000401
  1968. * throw object */
  1969. /* @normal <c DIBUTTON_ARCADES_CARRY>:0x21000402
  1970. * carry object */
  1971. /* @normal <c DIBUTTON_ARCADES_ATTACK>:0x21000403
  1972. * attack */
  1973. /* @normal <c DIBUTTON_ARCADES_SPECIAL>:0x21000404
  1974. * apply special move */
  1975. /* @normal <c DIBUTTON_ARCADES_SELECT>:0x21000405
  1976. * select special move */
  1977. /* @normal <c DIBUTTON_ARCADES_MENU>:0x210004FD
  1978. * Show menu options */
  1979. /*--- @normal <c Priority2 Commands> ---*/
  1980. /* @normal <c DIHATSWITCH_ARCADES_VIEW>:0x21004601
  1981. * scroll view left / right / up / down */
  1982. /* @normal <c DIBUTTON_ARCADES_LEFT_LINK>:0x2100C4E4
  1983. * Fallback sidestep left button */
  1984. /* @normal <c DIBUTTON_ARCADES_RIGHT_LINK>:0x2100C4EC
  1985. * Fallback sidestep right button */
  1986. /* @normal <c DIBUTTON_ARCADES_FORWARD_LINK>:0x210144E0
  1987. * Fallback move forward button */
  1988. /* @normal <c DIBUTTON_ARCADES_BACK_LINK>:0x210144E8
  1989. * Fallback move back button */
  1990. /* @normal <c DIBUTTON_ARCADES_VIEW_UP_LINK>:0x2107C4E0
  1991. * Fallback scroll view up button */
  1992. /* @normal <c DIBUTTON_ARCADES_VIEW_DOWN_LINK>:0x2107C4E8
  1993. * Fallback scroll view down button */
  1994. /* @normal <c DIBUTTON_ARCADES_VIEW_LEFT_LINK>:0x2107C4E4
  1995. * Fallback scroll view left button */
  1996. /* @normal <c DIBUTTON_ARCADES_VIEW_RIGHT_LINK>:0x2107C4EC
  1997. * Fallback scroll view right button */
  1998. /* @normal <c DIBUTTON_ARCADES_DEVICE>:0x210044FE
  1999. * Show input device and controls */
  2000. /* @normal <c DIBUTTON_ARCADES_PAUSE>:0x210044FC
  2001. * Start / Pause / Restart game */
  2002. /* @doc EXTERNAL
  2003. * @Semantics Arcade - Platform Game |
  2004. * @normal Genre: <c 34 >
  2005. */
  2006. #define DISEM_DEFAULTDEVICE_34 { DI8DEVTYPE_GAMEPAD, DI8DEVTYPE_JOYSTICK, }
  2007. /* @normal <c DIAXIS_ARCADEP_LATERAL>:0x22008201
  2008. * Left / right */
  2009. /* @normal <c DIAXIS_ARCADEP_MOVE>:0x22010202
  2010. * Up / down */
  2011. /* @normal <c DIBUTTON_ARCADEP_JUMP>:0x22000401
  2012. * Jump */
  2013. /* @normal <c DIBUTTON_ARCADEP_FIRE>:0x22000402
  2014. * Fire */
  2015. /* @normal <c DIBUTTON_ARCADEP_CROUCH>:0x22000403
  2016. * Crouch */
  2017. /* @normal <c DIBUTTON_ARCADEP_SPECIAL>:0x22000404
  2018. * Apply special move */
  2019. /* @normal <c DIBUTTON_ARCADEP_SELECT>:0x22000405
  2020. * Select special move */
  2021. /* @normal <c DIBUTTON_ARCADEP_MENU>:0x220004FD
  2022. * Show menu options */
  2023. /*--- @normal <c Priority2 Commands> ---*/
  2024. /* @normal <c DIHATSWITCH_ARCADEP_VIEW>:0x22004601
  2025. * Scroll view */
  2026. /* @normal <c DIBUTTON_ARCADEP_FIRESECONDARY>:0x22004406
  2027. * Alternative fire button */
  2028. /* @normal <c DIBUTTON_ARCADEP_LEFT_LINK>:0x2200C4E4
  2029. * Fallback sidestep left button */
  2030. /* @normal <c DIBUTTON_ARCADEP_RIGHT_LINK>:0x2200C4EC
  2031. * Fallback sidestep right button */
  2032. /* @normal <c DIBUTTON_ARCADEP_FORWARD_LINK>:0x220144E0
  2033. * Fallback move forward button */
  2034. /* @normal <c DIBUTTON_ARCADEP_BACK_LINK>:0x220144E8
  2035. * Fallback move back button */
  2036. /* @normal <c DIBUTTON_ARCADEP_VIEW_UP_LINK>:0x2207C4E0
  2037. * Fallback scroll view up button */
  2038. /* @normal <c DIBUTTON_ARCADEP_VIEW_DOWN_LINK>:0x2207C4E8
  2039. * Fallback scroll view down button */
  2040. /* @normal <c DIBUTTON_ARCADEP_VIEW_LEFT_LINK>:0x2207C4E4
  2041. * Fallback scroll view left button */
  2042. /* @normal <c DIBUTTON_ARCADEP_VIEW_RIGHT_LINK>:0x2207C4EC
  2043. * Fallback scroll view right button */
  2044. /* @normal <c DIBUTTON_ARCADEP_DEVICE>:0x220044FE
  2045. * Show input device and controls */
  2046. /* @normal <c DIBUTTON_ARCADEP_PAUSE>:0x220044FC
  2047. * Start / Pause / Restart game */
  2048. /* @doc EXTERNAL
  2049. * @Semantics CAD - 2D Object Control |
  2050. * @normal Genre: <c 35 >
  2051. */
  2052. #define DISEM_DEFAULTDEVICE_35 { DI8DEVTYPE_1STPERSON, DI8DEVTYPE_JOYSTICK, }
  2053. /* @normal <c DIAXIS_2DCONTROL_LATERAL>:0x23008201
  2054. * Move view left / right */
  2055. /* @normal <c DIAXIS_2DCONTROL_MOVE>:0x23010202
  2056. * Move view up / down */
  2057. /* @normal <c DIAXIS_2DCONTROL_INOUT>:0x23018203
  2058. * Zoom - in / out */
  2059. /* @normal <c DIBUTTON_2DCONTROL_SELECT>:0x23000401
  2060. * Select Object */
  2061. /* @normal <c DIBUTTON_2DCONTROL_SPECIAL1>:0x23000402
  2062. * Do first special operation */
  2063. /* @normal <c DIBUTTON_2DCONTROL_SPECIAL>:0x23000403
  2064. * Select special operation */
  2065. /* @normal <c DIBUTTON_2DCONTROL_SPECIAL2>:0x23000404
  2066. * Do second special operation */
  2067. /* @normal <c DIBUTTON_2DCONTROL_MENU>:0x230004FD
  2068. * Show menu options */
  2069. /*--- @normal <c Priority2 Commands> ---*/
  2070. /* @normal <c DIHATSWITCH_2DCONTROL_HATSWITCH>:0x23004601
  2071. * Hat switch */
  2072. /* @normal <c DIAXIS_2DCONTROL_ROTATEZ>:0x23024204
  2073. * Rotate view clockwise / counterclockwise */
  2074. /* @normal <c DIBUTTON_2DCONTROL_DISPLAY>:0x23004405
  2075. * Shows next on-screen display options */
  2076. /* @normal <c DIBUTTON_2DCONTROL_DEVICE>:0x230044FE
  2077. * Show input device and controls */
  2078. /* @normal <c DIBUTTON_2DCONTROL_PAUSE>:0x230044FC
  2079. * Start / Pause / Restart game */
  2080. /* @doc EXTERNAL
  2081. * @Semantics CAD - 3D object control |
  2082. * @normal Genre: <c 36 >
  2083. */
  2084. #define DISEM_DEFAULTDEVICE_36 { DI8DEVTYPE_1STPERSON, DI8DEVTYPE_JOYSTICK, }
  2085. /* @normal <c DIAXIS_3DCONTROL_LATERAL>:0x24008201
  2086. * Move view left / right */
  2087. /* @normal <c DIAXIS_3DCONTROL_MOVE>:0x24010202
  2088. * Move view up / down */
  2089. /* @normal <c DIAXIS_3DCONTROL_INOUT>:0x24018203
  2090. * Zoom - in / out */
  2091. /* @normal <c DIBUTTON_3DCONTROL_SELECT>:0x24000401
  2092. * Select Object */
  2093. /* @normal <c DIBUTTON_3DCONTROL_SPECIAL1>:0x24000402
  2094. * Do first special operation */
  2095. /* @normal <c DIBUTTON_3DCONTROL_SPECIAL>:0x24000403
  2096. * Select special operation */
  2097. /* @normal <c DIBUTTON_3DCONTROL_SPECIAL2>:0x24000404
  2098. * Do second special operation */
  2099. /* @normal <c DIBUTTON_3DCONTROL_MENU>:0x240004FD
  2100. * Show menu options */
  2101. /*--- @normal <c Priority2 Commands> ---*/
  2102. /* @normal <c DIHATSWITCH_3DCONTROL_HATSWITCH>:0x24004601
  2103. * Hat switch */
  2104. /* @normal <c DIAXIS_3DCONTROL_ROTATEX>:0x24034204
  2105. * Rotate view forward or up / backward or down */
  2106. /* @normal <c DIAXIS_3DCONTROL_ROTATEY>:0x2402C205
  2107. * Rotate view clockwise / counterclockwise */
  2108. /* @normal <c DIAXIS_3DCONTROL_ROTATEZ>:0x24024206
  2109. * Rotate view left / right */
  2110. /* @normal <c DIBUTTON_3DCONTROL_DISPLAY>:0x24004405
  2111. * Show next on-screen display options */
  2112. /* @normal <c DIBUTTON_3DCONTROL_DEVICE>:0x240044FE
  2113. * Show input device and controls */
  2114. /* @normal <c DIBUTTON_3DCONTROL_PAUSE>:0x240044FC
  2115. * Start / Pause / Restart game */
  2116. /* @doc EXTERNAL
  2117. * @Semantics CAD - 3D Navigation - Fly through |
  2118. * @normal Genre: <c 37 >
  2119. */
  2120. #define DISEM_DEFAULTDEVICE_37 { DI8DEVTYPE_1STPERSON, DI8DEVTYPE_JOYSTICK, }
  2121. /* @normal <c DIAXIS_CADF_LATERAL>:0x25008201
  2122. * move view left / right */
  2123. /* @normal <c DIAXIS_CADF_MOVE>:0x25010202
  2124. * move view up / down */
  2125. /* @normal <c DIAXIS_CADF_INOUT>:0x25018203
  2126. * in / out */
  2127. /* @normal <c DIBUTTON_CADF_SELECT>:0x25000401
  2128. * Select Object */
  2129. /* @normal <c DIBUTTON_CADF_SPECIAL1>:0x25000402
  2130. * do first special operation */
  2131. /* @normal <c DIBUTTON_CADF_SPECIAL>:0x25000403
  2132. * Select special operation */
  2133. /* @normal <c DIBUTTON_CADF_SPECIAL2>:0x25000404
  2134. * do second special operation */
  2135. /* @normal <c DIBUTTON_CADF_MENU>:0x250004FD
  2136. * Show menu options */
  2137. /*--- @normal <c Priority2 Commands> ---*/
  2138. /* @normal <c DIHATSWITCH_CADF_HATSWITCH>:0x25004601
  2139. * Hat switch */
  2140. /* @normal <c DIAXIS_CADF_ROTATEX>:0x25034204
  2141. * Rotate view forward or up / backward or down */
  2142. /* @normal <c DIAXIS_CADF_ROTATEY>:0x2502C205
  2143. * Rotate view clockwise / counterclockwise */
  2144. /* @normal <c DIAXIS_CADF_ROTATEZ>:0x25024206
  2145. * Rotate view left / right */
  2146. /* @normal <c DIBUTTON_CADF_DISPLAY>:0x25004405
  2147. * shows next on-screen display options */
  2148. /* @normal <c DIBUTTON_CADF_DEVICE>:0x250044FE
  2149. * Show input device and controls */
  2150. /* @normal <c DIBUTTON_CADF_PAUSE>:0x250044FC
  2151. * Start / Pause / Restart game */
  2152. /* @doc EXTERNAL
  2153. * @Semantics CAD - 3D Model Control |
  2154. * @normal Genre: <c 38 >
  2155. */
  2156. #define DISEM_DEFAULTDEVICE_38 { DI8DEVTYPE_1STPERSON, DI8DEVTYPE_JOYSTICK, }
  2157. /* @normal <c DIAXIS_CADM_LATERAL>:0x26008201
  2158. * move view left / right */
  2159. /* @normal <c DIAXIS_CADM_MOVE>:0x26010202
  2160. * move view up / down */
  2161. /* @normal <c DIAXIS_CADM_INOUT>:0x26018203
  2162. * in / out */
  2163. /* @normal <c DIBUTTON_CADM_SELECT>:0x26000401
  2164. * Select Object */
  2165. /* @normal <c DIBUTTON_CADM_SPECIAL1>:0x26000402
  2166. * do first special operation */
  2167. /* @normal <c DIBUTTON_CADM_SPECIAL>:0x26000403
  2168. * Select special operation */
  2169. /* @normal <c DIBUTTON_CADM_SPECIAL2>:0x26000404
  2170. * do second special operation */
  2171. /* @normal <c DIBUTTON_CADM_MENU>:0x260004FD
  2172. * Show menu options */
  2173. /*--- @normal <c Priority2 Commands> ---*/
  2174. /* @normal <c DIHATSWITCH_CADM_HATSWITCH>:0x26004601
  2175. * Hat switch */
  2176. /* @normal <c DIAXIS_CADM_ROTATEX>:0x26034204
  2177. * Rotate view forward or up / backward or down */
  2178. /* @normal <c DIAXIS_CADM_ROTATEY>:0x2602C205
  2179. * Rotate view clockwise / counterclockwise */
  2180. /* @normal <c DIAXIS_CADM_ROTATEZ>:0x26024206
  2181. * Rotate view left / right */
  2182. /* @normal <c DIBUTTON_CADM_DISPLAY>:0x26004405
  2183. * shows next on-screen display options */
  2184. /* @normal <c DIBUTTON_CADM_DEVICE>:0x260044FE
  2185. * Show input device and controls */
  2186. /* @normal <c DIBUTTON_CADM_PAUSE>:0x260044FC
  2187. * Start / Pause / Restart game */
  2188. /* @doc EXTERNAL
  2189. * @Semantics Control - Media Equipment |
  2190. * @normal Genre: <c 39 >
  2191. */
  2192. #define DISEM_DEFAULTDEVICE_39 { DI8DEVTYPE_GAMEPAD, }
  2193. /* @normal <c DIAXIS_REMOTE_SLIDER>:0x27050201
  2194. * Slider for adjustment: volume / color / bass / etc */
  2195. /* @normal <c DIBUTTON_REMOTE_MUTE>:0x27000401
  2196. * Set volume on current device to zero */
  2197. /* @normal <c DIBUTTON_REMOTE_SELECT>:0x27000402
  2198. * Next/previous: channel/ track / chapter / picture / station */
  2199. /* @normal <c DIBUTTON_REMOTE_PLAY>:0x27002403
  2200. * Start or pause entertainment on current device */
  2201. /* @normal <c DIBUTTON_REMOTE_CUE>:0x27002404
  2202. * Move through current media */
  2203. /* @normal <c DIBUTTON_REMOTE_REVIEW>:0x27002405
  2204. * Move through current media */
  2205. /* @normal <c DIBUTTON_REMOTE_CHANGE>:0x27002406
  2206. * Select next device */
  2207. /* @normal <c DIBUTTON_REMOTE_RECORD>:0x27002407
  2208. * Start recording the current media */
  2209. /* @normal <c DIBUTTON_REMOTE_MENU>:0x270004FD
  2210. * Show menu options */
  2211. /*--- @normal <c Priority2 Commands> ---*/
  2212. /* @normal <c DIAXIS_REMOTE_SLIDER2>:0x27054202
  2213. * Slider for adjustment: volume */
  2214. /* @normal <c DIBUTTON_REMOTE_TV>:0x27005C08
  2215. * Select TV */
  2216. /* @normal <c DIBUTTON_REMOTE_CABLE>:0x27005C09
  2217. * Select cable box */
  2218. /* @normal <c DIBUTTON_REMOTE_CD>:0x27005C0A
  2219. * Select CD player */
  2220. /* @normal <c DIBUTTON_REMOTE_VCR>:0x27005C0B
  2221. * Select VCR */
  2222. /* @normal <c DIBUTTON_REMOTE_TUNER>:0x27005C0C
  2223. * Select tuner */
  2224. /* @normal <c DIBUTTON_REMOTE_DVD>:0x27005C0D
  2225. * Select DVD player */
  2226. /* @normal <c DIBUTTON_REMOTE_ADJUST>:0x27005C0E
  2227. * Enter device adjustment menu */
  2228. /* @normal <c DIBUTTON_REMOTE_DIGIT0>:0x2700540F
  2229. * Digit 0 */
  2230. /* @normal <c DIBUTTON_REMOTE_DIGIT1>:0x27005410
  2231. * Digit 1 */
  2232. /* @normal <c DIBUTTON_REMOTE_DIGIT2>:0x27005411
  2233. * Digit 2 */
  2234. /* @normal <c DIBUTTON_REMOTE_DIGIT3>:0x27005412
  2235. * Digit 3 */
  2236. /* @normal <c DIBUTTON_REMOTE_DIGIT4>:0x27005413
  2237. * Digit 4 */
  2238. /* @normal <c DIBUTTON_REMOTE_DIGIT5>:0x27005414
  2239. * Digit 5 */
  2240. /* @normal <c DIBUTTON_REMOTE_DIGIT6>:0x27005415
  2241. * Digit 6 */
  2242. /* @normal <c DIBUTTON_REMOTE_DIGIT7>:0x27005416
  2243. * Digit 7 */
  2244. /* @normal <c DIBUTTON_REMOTE_DIGIT8>:0x27005417
  2245. * Digit 8 */
  2246. /* @normal <c DIBUTTON_REMOTE_DIGIT9>:0x27005418
  2247. * Digit 9 */
  2248. /* @normal <c DIBUTTON_REMOTE_DEVICE>:0x270044FE
  2249. * Show input device and controls */
  2250. /* @normal <c DIBUTTON_REMOTE_PAUSE>:0x270044FC
  2251. * Start / Pause / Restart game */
  2252. /* @doc EXTERNAL
  2253. * @Semantics Control- Web |
  2254. * @normal Genre: <c 40 >
  2255. */
  2256. #define DISEM_DEFAULTDEVICE_40 { DI8DEVTYPE_GAMEPAD, DI8DEVTYPE_JOYSTICK, }
  2257. /* @normal <c DIAXIS_BROWSER_LATERAL>:0x28008201
  2258. * Move on screen pointer */
  2259. /* @normal <c DIAXIS_BROWSER_MOVE>:0x28010202
  2260. * Move on screen pointer */
  2261. /* @normal <c DIBUTTON_BROWSER_SELECT>:0x28000401
  2262. * Select current item */
  2263. /* @normal <c DIAXIS_BROWSER_VIEW>:0x28018203
  2264. * Move view up/down */
  2265. /* @normal <c DIBUTTON_BROWSER_REFRESH>:0x28000402
  2266. * Refresh */
  2267. /* @normal <c DIBUTTON_BROWSER_MENU>:0x280004FD
  2268. * Show menu options */
  2269. /*--- @normal <c Priority2 Commands> ---*/
  2270. /* @normal <c DIBUTTON_BROWSER_SEARCH>:0x28004403
  2271. * Use search tool */
  2272. /* @normal <c DIBUTTON_BROWSER_STOP>:0x28004404
  2273. * Cease current update */
  2274. /* @normal <c DIBUTTON_BROWSER_HOME>:0x28004405
  2275. * Go directly to "home" location */
  2276. /* @normal <c DIBUTTON_BROWSER_FAVORITES>:0x28004406
  2277. * Mark current site as favorite */
  2278. /* @normal <c DIBUTTON_BROWSER_NEXT>:0x28004407
  2279. * Select Next page */
  2280. /* @normal <c DIBUTTON_BROWSER_PREVIOUS>:0x28004408
  2281. * Select Previous page */
  2282. /* @normal <c DIBUTTON_BROWSER_HISTORY>:0x28004409
  2283. * Show/Hide History */
  2284. /* @normal <c DIBUTTON_BROWSER_PRINT>:0x2800440A
  2285. * Print current page */
  2286. /* @normal <c DIBUTTON_BROWSER_DEVICE>:0x280044FE
  2287. * Show input device and controls */
  2288. /* @normal <c DIBUTTON_BROWSER_PAUSE>:0x280044FC
  2289. * Start / Pause / Restart game */
  2290. /* @doc EXTERNAL
  2291. * @Semantics Driving Simulator - Giant Walking Robot |
  2292. * @normal Genre: <c 41 >
  2293. */
  2294. #define DISEM_DEFAULTDEVICE_41 { DI8DEVTYPE_JOYSTICK, }
  2295. /* @normal <c DIAXIS_MECHA_STEER>:0x29008201
  2296. * Turns mecha left/right */
  2297. /* @normal <c DIAXIS_MECHA_TORSO>:0x29010202
  2298. * Tilts torso forward/backward */
  2299. /* @normal <c DIAXIS_MECHA_ROTATE>:0x29020203
  2300. * Turns torso left/right */
  2301. /* @normal <c DIAXIS_MECHA_THROTTLE>:0x29038204
  2302. * Engine Speed */
  2303. /* @normal <c DIBUTTON_MECHA_FIRE>:0x29000401
  2304. * Fire */
  2305. /* @normal <c DIBUTTON_MECHA_WEAPONS>:0x29000402
  2306. * Select next weapon group */
  2307. /* @normal <c DIBUTTON_MECHA_TARGET>:0x29000403
  2308. * Select closest enemy available target */
  2309. /* @normal <c DIBUTTON_MECHA_REVERSE>:0x29000404
  2310. * Toggles throttle in/out of reverse */
  2311. /* @normal <c DIBUTTON_MECHA_ZOOM>:0x29000405
  2312. * Zoom in/out targeting reticule */
  2313. /* @normal <c DIBUTTON_MECHA_JUMP>:0x29000406
  2314. * Fires jump jets */
  2315. /* @normal <c DIBUTTON_MECHA_MENU>:0x290004FD
  2316. * Show menu options */
  2317. /*--- @normal <c Priority2 Commands> ---*/
  2318. /* @normal <c DIBUTTON_MECHA_CENTER>:0x29004407
  2319. * Center torso to legs */
  2320. /* @normal <c DIHATSWITCH_MECHA_GLANCE>:0x29004601
  2321. * Look around */
  2322. /* @normal <c DIBUTTON_MECHA_VIEW>:0x29004408
  2323. * Cycle through view options */
  2324. /* @normal <c DIBUTTON_MECHA_FIRESECONDARY>:0x29004409
  2325. * Alternative fire button */
  2326. /* @normal <c DIBUTTON_MECHA_LEFT_LINK>:0x2900C4E4
  2327. * Fallback steer left button */
  2328. /* @normal <c DIBUTTON_MECHA_RIGHT_LINK>:0x2900C4EC
  2329. * Fallback steer right button */
  2330. /* @normal <c DIBUTTON_MECHA_FORWARD_LINK>:0x290144E0
  2331. * Fallback tilt torso forward button */
  2332. /* @normal <c DIBUTTON_MECHA_BACK_LINK>:0x290144E8
  2333. * Fallback tilt toroso backward button */
  2334. /* @normal <c DIBUTTON_MECHA_ROTATE_LEFT_LINK>:0x290244E4
  2335. * Fallback rotate toroso right button */
  2336. /* @normal <c DIBUTTON_MECHA_ROTATE_RIGHT_LINK>:0x290244EC
  2337. * Fallback rotate torso left button */
  2338. /* @normal <c DIBUTTON_MECHA_FASTER_LINK>:0x2903C4E0
  2339. * Fallback increase engine speed */
  2340. /* @normal <c DIBUTTON_MECHA_SLOWER_LINK>:0x2903C4E8
  2341. * Fallback decrease engine speed */
  2342. /* @normal <c DIBUTTON_MECHA_DEVICE>:0x290044FE
  2343. * Show input device and controls */
  2344. /* @normal <c DIBUTTON_MECHA_PAUSE>:0x290044FC
  2345. * Start / Pause / Restart game */
  2346. #define DIAS_INDEX_SPECIAL 0xFC
  2347. #define DIAS_INDEX_LINK 0xE0
  2348. #define DIGENRE_ANY 0xFF
  2349. #define DISEMGENRE_ANY 0xFF000000
  2350. #define DISEM_TYPEANDMODE_GET(x) ( ( x & ( DISEM_TYPE_MASK | DISEM_REL_MASK ) ) >> DISEM_REL_SHIFT )
  2351. #define DISEM_VALID ( ~DISEM_RES_MASK )
  2352. #if (DIRECTINPUT_VERSION >= 0x0800)
  2353. #define DISEM_MAX_GENRE 41
  2354. static const BYTE DiGenreDeviceOrder[DISEM_MAX_GENRE][DI8DEVTYPE_MAX-DI8DEVTYPE_MIN]={
  2355. DISEM_DEFAULTDEVICE_1,
  2356. DISEM_DEFAULTDEVICE_2,
  2357. DISEM_DEFAULTDEVICE_3,
  2358. DISEM_DEFAULTDEVICE_4,
  2359. DISEM_DEFAULTDEVICE_5,
  2360. DISEM_DEFAULTDEVICE_6,
  2361. DISEM_DEFAULTDEVICE_7,
  2362. DISEM_DEFAULTDEVICE_8,
  2363. DISEM_DEFAULTDEVICE_9,
  2364. DISEM_DEFAULTDEVICE_10,
  2365. DISEM_DEFAULTDEVICE_11,
  2366. DISEM_DEFAULTDEVICE_12,
  2367. DISEM_DEFAULTDEVICE_13,
  2368. DISEM_DEFAULTDEVICE_14,
  2369. DISEM_DEFAULTDEVICE_15,
  2370. DISEM_DEFAULTDEVICE_16,
  2371. DISEM_DEFAULTDEVICE_17,
  2372. DISEM_DEFAULTDEVICE_18,
  2373. DISEM_DEFAULTDEVICE_19,
  2374. DISEM_DEFAULTDEVICE_20,
  2375. DISEM_DEFAULTDEVICE_21,
  2376. DISEM_DEFAULTDEVICE_22,
  2377. DISEM_DEFAULTDEVICE_23,
  2378. DISEM_DEFAULTDEVICE_24,
  2379. DISEM_DEFAULTDEVICE_25,
  2380. DISEM_DEFAULTDEVICE_26,
  2381. DISEM_DEFAULTDEVICE_27,
  2382. DISEM_DEFAULTDEVICE_28,
  2383. DISEM_DEFAULTDEVICE_29,
  2384. DISEM_DEFAULTDEVICE_30,
  2385. DISEM_DEFAULTDEVICE_31,
  2386. DISEM_DEFAULTDEVICE_32,
  2387. DISEM_DEFAULTDEVICE_33,
  2388. DISEM_DEFAULTDEVICE_34,
  2389. DISEM_DEFAULTDEVICE_35,
  2390. DISEM_DEFAULTDEVICE_36,
  2391. DISEM_DEFAULTDEVICE_37,
  2392. DISEM_DEFAULTDEVICE_38,
  2393. DISEM_DEFAULTDEVICE_39,
  2394. DISEM_DEFAULTDEVICE_40,
  2395. DISEM_DEFAULTDEVICE_41,
  2396. };
  2397. #endif