Leaked source code of windows server 2003
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.

1213 lines
51 KiB

  1. ;begin_internal
  2. /********************************************************************************************
  3. | Decoding a semantic
  4. | : | : | : | :
  5. | 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
  6. |PHY < Genre > < Reserved >< Flags > Pri<Group > <Typ> A/R< Control Index >
  7. |
  8. | PHY: Genre refers to a physical device
  9. | Genre: Genre# (1-128)
  10. | A/R - Axis mode ( 0 - Absolute, 1 - Relative )
  11. | Pri - Priority ( 0 - Priority 1, 1 - Priority 2 )
  12. |
  13. |
  14. *IMPORTANT: The Mapper UI uses some of the masks generated by M4. If you change any of the
  15. masks or Flags please make sure that the changes are also made to the the Mapper UI
  16. #defines.
  17. ********************************************************************************************/
  18. _Bits(Genre, 24, _Mask(8,24))
  19. _Bits(Physical,31,_Mask(1,31))
  20. _Bits(Virtual,24, _Mask(7,24))
  21. _Bits(Res, 19, _Mask(5,19))
  22. _Bits(Flags, 15, _Mask(4,15))
  23. _Bits(Pri, 14, _Mask(1,14))
  24. _Bits(Group, 11, _Mask(3,11))
  25. _Bits(Type, 9, _Mask(2, 9))
  26. _Bits(Rel, 8, _Mask(1, 8))
  27. _Bits(Index, 0, _Mask(8, 0))
  28. dnl
  29. _Value(TYPE,AXIS, 1)
  30. _Value(TYPE,BUTTON, 2)
  31. _Value(TYPE,POV, 3)
  32. dnl
  33. /*
  34. * Default Axis mapping is encoded as follows:
  35. * X - X or steering axis
  36. * Y - Y
  37. * Z - Z, not throttle
  38. * R - rZ or rudder
  39. * U - rY (not available for WinMM unless 6DOF or head tracker)
  40. * V - rx (not available for WinMM unless 6DOF or head tracker)
  41. * A - Accellerator or throttle
  42. * B - Brake
  43. * C - Clutch
  44. * S - Slider
  45. *
  46. * P - is used in fallback button flags to indicate a POV
  47. */
  48. _Value(FLAGS,X, 1)
  49. _Value(FLAGS,Y, 2)
  50. _Value(FLAGS,Z, 3)
  51. _Value(FLAGS,R, 4)
  52. _Value(FLAGS,U, 5)
  53. _Value(FLAGS,V, 6)
  54. _Value(FLAGS,A, 7)
  55. _Value(FLAGS,B, 8)
  56. _Value(FLAGS,C, 9)
  57. _Value(FLAGS,S,10)
  58. _Value(FLAGS,P,15)
  59. /* The reserved button values */
  60. define(`BUTTON_DEVICE',0xFE)
  61. define(`BUTTON_MENU', 0xFD)
  62. define(`BUTTON_PAUSE', 0xFC)
  63. define(`BUTTON_UP', 0xE0)
  64. define(`BUTTON_DOWN', 0xE8)
  65. define(`BUTTON_LEFT', 0xE4)
  66. define(`BUTTON_RIGHT', 0xEC)
  67. ;end_internal
  68. _CComment(DINPUT Mapper Definitions: New for Dx8)
  69. ;begin_internal
  70. /*
  71. * Any axis value can be set to relative by or'ing the appropriate flags.
  72. */
  73. define(`_REL',1)dnl
  74. _CDefine(DIAXIS_RELATIVE, `_SetREL' )
  75. define(`_REL',0)dnl
  76. _CDefine(DIAXIS_ABSOLUTE, `_SetREL' )
  77. ;end_internal
  78. _BeginPhysical(KEYBOARD, KEYBOARD,
  79. Keyboard,
  80. Physical Keyboard Device)
  81. pushdef(`dik_def', `_PButtonN($2,strsubst(`$1',`DIK_'), 0, $1)')dnl
  82. sinclude(`dinputk.w') dnl
  83. popdef(`dik_def') dnl
  84. _EndPhysical
  85. _BeginPhysical(MOUSE, MOUSE,
  86. MOUSE,
  87. Physical Mouse Device)
  88. _PAxis(X, XAxisAb, 0, X Axis-absolute: Some mice natively report absolute coordinates ,DIMOFS_X )
  89. _PAxis(Y, YAxisAb, 0, Y Axis-absolute: Some mice natively report absolute coordinates, DIMOFS_Y )
  90. define(`_REL',1)dnl
  91. _PAxis(X, XAxis, 0, X Axis, DIMOFS_X )
  92. _PAxis(Y, YAxis, 0, Y Axis, DIMOFS_Y )
  93. _PAxis(Wheel, Wheel, 0, Z Axis, DIMOFS_Z )
  94. define(`_REL',0)dnl
  95. _PButtonN(0x0, BUTTON0, 0, Button 0, DIMOFS_BUTTON0)
  96. _PButtonN(0x0, BUTTON1, 0, Button 1, DIMOFS_BUTTON1)
  97. _PButtonN(0x0, BUTTON2, 0, Button 2, DIMOFS_BUTTON2)
  98. _PButtonN(0x0, BUTTON3, 0, Button 3, DIMOFS_BUTTON3)
  99. _PButtonN(0x0, BUTTON4, 0, Button 4, DIMOFS_BUTTON4)
  100. _PButtonN(0x0, BUTTON5, 0, Button 5, DIMOFS_BUTTON5)
  101. _PButtonN(0x0, BUTTON6, 0, Button 6, DIMOFS_BUTTON6)
  102. _PButtonN(0x0, BUTTON7, 0, Button 7, DIMOFS_BUTTON7)
  103. _EndPhysical
  104. _BeginPhysical(VOICE, VOICE,
  105. VOICE,
  106. Physical Dplay Voice Device)
  107. _PButtonN( 1, Channel1, 0, Channel 1)
  108. _PButtonN( 2, Channel2, 0, Channel 2)
  109. _PButtonN( 3, Channel3, 0, Channel 3)
  110. _PButtonN( 4, Channel4, 0, Channel 4)
  111. _PButtonN( 5, Channel5, 0, Channel 5)
  112. _PButtonN( 6, Channel6, 0, Channel 6)
  113. _PButtonN( 7, Channel7, 0, Channel 7)
  114. _PButtonN( 8, Channel8, 0, Channnel 8)
  115. _PButtonN( 9, Team, 0, Team channel)
  116. _PButtonN(10, All, 0, All channels)
  117. _PButtonN(11, RecordMute, 0, Record Mute)
  118. _PButtonN(12, PlaybackMute, 0, Playback Mute)
  119. _PButtonN(13, Transmit, 0, Transmit)
  120. _PButtonN(16, VoiceCommand, 0, Command and Control)
  121. _EndPhysical
  122. _BeginGenre(DRIVING_RACE, DRIVINGR,
  123. Driving Simulator - Racing,
  124. Vehicle control is primary objective)
  125. _Device(Driving)
  126. _Axis(X, STEER, 1, Steering)
  127. _Axis(A, ACCELERATE, 2, Accelerate)
  128. _Axis(B, BRAKE, 2, Brake-Axis)
  129. _Button( SHIFTUP, 1, Shift to next higher gear)
  130. _Button( SHIFTDOWN, 1, Shift to next lower gear)
  131. _Button( VIEW, 3, Cycle through view options)
  132. _Priority2
  133. _Axis(Y, ACCEL_AND_BRAKE, 1, Some devices combine accelerate and brake in a single axis)
  134. _Pov( GLANCE, 0, Look around)
  135. _Button( BRAKE, 1, Brake-button)
  136. _Button( DASHBOARD, 0, Select next dashboard option)
  137. _Button( AIDS, 0, Driver correction aids, stop-spin, reset to track, etc)
  138. _Button( MAP, 0, Display Driving Map)
  139. _Button( BOOST, 0, Turbo Boost)
  140. _Button( Pit, 0, Pit stop notification)
  141. _ButtonF(A, BUTTON_UP, ACCELERATE, 2, Fallback Accelerate button)
  142. _ButtonF(X, BUTTON_LEFT, STEER_LEFT, 1, Fallback Steer Left button)
  143. _ButtonF(X, BUTTON_RIGHT,STEER_RIGHT, 1,Fallback Steer Right button)
  144. _ButtonF(P, BUTTON_LEFT, GLANCE_LEFT, 0,Fallback Glance Left button)
  145. _ButtonF(P, BUTTON_RIGHT,GLANCE_RIGHT,0,Fallback Glance Right button)
  146. _EndGenre
  147. _BeginGenre(DRIVING_COMBAT,DRIVINGC,
  148. Driving Simulator - Combat,
  149. Combat from within a vehicle is primary objective)
  150. _Device(Driving)
  151. _Axis(X, STEER, 1, Steering )
  152. _Axis(A, ACCELERATE, 2, Accelerate)
  153. _Axis(B, BRAKE, 2, Brake-axis)
  154. _Button( FIRE, 1, Fire)
  155. _Button( WEAPONS, 1, Select next weapon)
  156. _Button( TARGET, 1, Select next available target)
  157. _Priority2
  158. _Axis(Y, ACCEL_AND_BRAKE, 1, Some devices combine accelerate and brake in a single axis)
  159. _Pov( GLANCE, 0, Look around)
  160. _Button( SHIFTUP, 1, Shift to next higher gear)
  161. _Button( SHIFTDOWN, 1, Shift to next lower gear)
  162. _Button( DASHBOARD, 0, Select next dashboard option)
  163. _Button( AIDS, 0, Driver correction aids, stop-spin, reset to track, etc)
  164. _Button( BRAKE, 1, Brake-button)
  165. _Button( FIRESECONDARY, 1, Alternative fire button)
  166. _ButtonF(A, BUTTON_UP, ACCELERATE, 2, Fallback Accelerate button)
  167. _ButtonF(X, BUTTON_LEFT, STEER_LEFT, 1, Fallback Steer Left button)
  168. _ButtonF(X, BUTTON_RIGHT,STEER_RIGHT, 1,Fallback Steer Right button)
  169. _ButtonF(P, BUTTON_LEFT, GLANCE_LEFT, 0,Fallback Glance Left button)
  170. _ButtonF(P, BUTTON_RIGHT,GLANCE_RIGHT,0,Fallback Glance Right button)
  171. _EndGenre
  172. _BeginGenre(DRIVING_TANK, DRIVINGT,
  173. Driving Simulator - Tank,
  174. Combat from withing a tank is primary objective)
  175. _Device(Driving)
  176. _Axis(X, STEER, 1, Turn tank left / right)
  177. _Axis(Y, BARREL, 0, Raise / lower barrel)
  178. _Axis(A, ACCELERATE, 2, Accelerate)
  179. _Axis(R, ROTATE, 0, Turn barrel left / right)
  180. _Button( FIRE, 1, Fire)
  181. _Button( WEAPONS, 1, Select next weapon)
  182. _Button( TARGET, 1, Selects next available target)
  183. _Priority2
  184. _Pov( GLANCE, 0, Look around)
  185. _Axis(B, BRAKE, 2, Brake-axis)
  186. _Axis(Y, ACCEL_AND_BRAKE, 1, Some devices combine accelerate and brake in a single axis)
  187. _Button( VIEW, 3, Cycle through view options)
  188. _Button( DASHBOARD, 3, Select next dashboard option)
  189. _Button( BRAKE, 1, Brake-button)
  190. _Button( FIRESECONDARY, 1, Alternative fire button)
  191. _ButtonF(A, BUTTON_UP, ACCELERATE, 2, Fallback Accelerate button)
  192. _ButtonF(X, BUTTON_LEFT, STEER_LEFT, 1, Fallback Steer Left button)
  193. _ButtonF(X, BUTTON_RIGHT,STEER_RIGHT, 1, Fallback Steer Right button)
  194. _ButtonF(Y, BUTTON_UP, BARREL_UP, 0, Fallback Barrel up button)
  195. _ButtonF(Y, BUTTON_DOWN, BARREL_DOWN, 0, Fallback Barrel down button)
  196. _ButtonF(R, BUTTON_LEFT, ROTATE_LEFT, 0, Fallback Rotate left button)
  197. _ButtonF(R, BUTTON_RIGHT,ROTATE_RIGHT,0, Fallback Rotate right button)
  198. _ButtonF(P, BUTTON_LEFT, GLANCE_LEFT, 0,Fallback Glance Left button)
  199. _ButtonF(P, BUTTON_RIGHT,GLANCE_RIGHT,0,Fallback Glance Right button)
  200. _EndGenre
  201. _BeginGenre(FLYING_CIVILIAN, FLYINGC,
  202. Flight Simulator - Civilian ,
  203. Plane control is the primary objective)
  204. _Device(Flight, Joystick)
  205. _Axis(X, BANK, 1, Roll ship left / right)
  206. _Axis(Y, PITCH, 1, Nose up / down)
  207. _Axis(A, THROTTLE, 2, Throttle)
  208. _Button( VIEW, 4, Cycle through view options)
  209. _Button( DISPLAY, 4, Select next dashboard / heads up display option)
  210. _Button( GEAR, 5, Gear up / down)
  211. _Priority2
  212. _Pov( GLANCE, 0, Look around)
  213. _Axis(B, BRAKE, 5, Apply Brake)
  214. _Axis(R, RUDDER, 2, Yaw ship left/right)
  215. _Axis(S, FLAPS, 3, Flaps)
  216. _Button( FLAPSUP, 4, Increment stepping up until fully retracted)
  217. _Button( FLAPSDOWN, 4, Decrement stepping down until fully extended)
  218. _ButtonF(B, BUTTON_UP, Brake, 5, Fallback brake button)
  219. _ButtonF(A, BUTTON_UP, Faster, 2, Fallback throttle up button)
  220. _ButtonF(A, BUTTON_DOWN, Slower, 2, Fallback throttle down button)
  221. _ButtonF(P, BUTTON_LEFT, GLANCE_LEFT, 0,Fallback Glance Left button)
  222. _ButtonF(P, BUTTON_RIGHT,GLANCE_RIGHT,0,Fallback Glance Right button)
  223. _ButtonF(P, BUTTON_UP, GLANCE_UP, 0,Fallback Glance Up button)
  224. _ButtonF(P, BUTTON_DOWN, GLANCE_DOWN, 0,Fallback Glance Down button)
  225. _EndGenre
  226. _BeginGenre(FLYING_MILITARY, FLYINGM,
  227. Flight Simulator - Military ,
  228. Aerial combat is the primary objective)
  229. _Device(Flight, Joystick)
  230. _Axis(X, BANK, 1, Bank - Roll ship left / right)
  231. _Axis(Y, PITCH, 1, Pitch - Nose up / down)
  232. _Axis(A, THROTTLE, 2, Throttle - faster / slower)
  233. _Button( FIRE, 1, Fire)
  234. _Button( WEAPONS, 1, Select next weapon)
  235. _Button( TARGET, 1, Selects next available target)
  236. _Priority2
  237. _Pov( GLANCE, 0, Look around)
  238. _Button( COUNTER, 3, Activate counter measures)
  239. _Axis(R, RUDDER, 1, Rudder - Yaw ship left/right)
  240. _Axis(B, BRAKE, 4, Brake-axis)
  241. _Button( VIEW, 4, Cycle through view options)
  242. _Button( DISPLAY, 4, Select next dashboard option)
  243. _Axis(S, FLAPS, 2, Flaps)
  244. _Button( FLAPSUP, 2, Increment stepping up until fully retracted)
  245. _Button( FLAPSDOWN, 2, Decrement stepping down until fully extended)
  246. _Button( FIRESECONDARY, 1, Alternative fire button)
  247. _Button( GEAR, 4, Gear up / down)
  248. _ButtonF(B, BUTTON_UP, Brake, 4, Fallback brake button)
  249. _ButtonF(A, BUTTON_UP, Faster, 2, Fallback throttle up button)
  250. _ButtonF(A, BUTTON_DOWN, Slower, 2, Fallback throttle down button)
  251. _ButtonF(P, BUTTON_LEFT, GLANCE_LEFT, 0,Fallback Glance Left button)
  252. _ButtonF(P, BUTTON_RIGHT,GLANCE_RIGHT,0,Fallback Glance Right button)
  253. _ButtonF(P, BUTTON_UP, GLANCE_UP, 0,Fallback Glance Up button)
  254. _ButtonF(P, BUTTON_DOWN, GLANCE_DOWN, 0,Fallback Glance Down button)
  255. _EndGenre
  256. _BeginGenre(FLYING_HELICOPTER, FLYINGH,
  257. Flight Simulator - Combat Helicopter,
  258. Combat from helicopter is primary objective)
  259. _Device(Joystick)
  260. _Axis(X, BANK, 1, Bank - Roll ship left / right)
  261. _Axis(Y, PITCH, 1, Pitch - Nose up / down)
  262. _Axis(Z, COLLECTIVE, 1, Collective - Blade pitch/power)
  263. _Button( FIRE, 2, Fire)
  264. _Button( WEAPONS, 2, Select next weapon)
  265. _Button( TARGET, 2, Selects next available target)
  266. _Priority2
  267. _Pov( GLANCE, 0, Look around)
  268. _Axis(R, TORQUE, 3, Torque - Rotate ship around left / right axis)
  269. _Axis(A, THROTTLE, 3, Throttle)
  270. _Button( COUNTER, 2, Activate counter measures)
  271. _Button( VIEW, 4, Cycle through view options)
  272. _Button( GEAR, 4, Gear up / down)
  273. _Button( FIRESECONDARY, 1, Alternative fire button)
  274. _ButtonF(A, BUTTON_UP, Faster, 3, Fallback throttle up button)
  275. _ButtonF(A, BUTTON_DOWN, Slower, 3, Fallback throttle down button)
  276. _ButtonF(P, BUTTON_LEFT, GLANCE_LEFT, 0,Fallback Glance Left button)
  277. _ButtonF(P, BUTTON_RIGHT,GLANCE_RIGHT,0,Fallback Glance Right button)
  278. _ButtonF(P, BUTTON_UP, GLANCE_UP, 0,Fallback Glance Up button)
  279. _ButtonF(P, BUTTON_DOWN, GLANCE_DOWN, 0,Fallback Glance Down button)
  280. _EndGenre
  281. _BeginGenre(SPACESIM, SPACESIM,
  282. Space Simulator - Combat,
  283. Space Simulator with weapons)
  284. _Device(Joystick)
  285. _Axis(X, LATERAL, 0, Move ship left / right)
  286. _Axis(Y, MOVE, 0, Move ship forward/backward)
  287. _Axis(A, THROTTLE, 0, Throttle - Engine speed)
  288. _Button( FIRE, 0, Fire)
  289. _Button( WEAPONS, 0, Select next weapon)
  290. _Button( TARGET, 0, Selects next available target)
  291. _Priority2
  292. _Pov( GLANCE, 0, Look around)
  293. _Axis(Z, CLIMB, 0, Climb - Pitch ship up/down)
  294. _Axis(R, ROTATE, 0, Rotate - Turn ship left/right)
  295. _Button( VIEW, 0, Cycle through view options)
  296. _Button( DISPLAY, 0, Select next dashboard / heads up display option)
  297. _Button( RAISE, 0, Raise ship while maintaining current pitch)
  298. _Button( LOWER, 0, Lower ship while maintaining current pitch)
  299. _Button( GEAR, 0, Gear up / down)
  300. _Button( FIRESECONDARY, 0, Alternative fire button)
  301. _ButtonF(X, BUTTON_LEFT, Left, 0, Fallback move left button)
  302. _ButtonF(X, BUTTON_RIGHT,Right, 0, Fallback move right button)
  303. _ButtonF(Y, BUTTON_UP, Forward, 0, Fallback move forward button)
  304. _ButtonF(Y, BUTTON_DOWN, Backward, 0, Fallback move backwards button)
  305. _ButtonF(A, BUTTON_UP, Faster, 0, Fallback throttle up button)
  306. _ButtonF(A, BUTTON_DOWN, Slower, 0, Fallback throttle down button)
  307. _ButtonF(R, BUTTON_LEFT, Turn_Left, 0, Fallback turn left button)
  308. _ButtonF(R, BUTTON_RIGHT,Turn_Right, 0, Fallback turn right button)
  309. _ButtonF(P, BUTTON_LEFT, GLANCE_LEFT, 0,Fallback Glance Left button)
  310. _ButtonF(P, BUTTON_RIGHT,GLANCE_RIGHT,0,Fallback Glance Right button)
  311. _ButtonF(P, BUTTON_UP, GLANCE_UP, 0,Fallback Glance Up button)
  312. _ButtonF(P, BUTTON_DOWN, GLANCE_DOWN, 0,Fallback Glance Down button)
  313. _EndGenre
  314. _BeginGenre(FIGHTING_HAND2HAND, FIGHTINGH,
  315. Fighting - First Person ,
  316. Hand to Hand combat is primary objective)
  317. _Device(Gamepad, Joystick)
  318. _Axis(X, LATERAL, 0, Sidestep left/right)
  319. _Axis(Y, MOVE, 0, Move forward/backward)
  320. _Button( PUNCH, 0, Punch)
  321. _Button( KICK, 0, Kick)
  322. _Button( BLOCK, 0, Block)
  323. _Button( CROUCH, 0, Crouch)
  324. _Button( JUMP, 0, Jump)
  325. _Button( SPECIAL1, 0, Apply first special move)
  326. _Button( SPECIAL2, 0, Apply second special move)
  327. _Priority2
  328. _Button(SELECT, 0, Select special move)
  329. _Pov(SLIDE, 0, Look around)
  330. _Button(DISPLAY, 0, Shows next on-screen display option)
  331. _Axis(R,ROTATE, 0, Rotate - Turn body left/right)
  332. _Button(DODGE, 0, Dodge)
  333. _ButtonF(X, BUTTON_LEFT, left, 0, Fallback left sidestep button)
  334. _ButtonF(X, BUTTON_RIGHT, right, 0, Fallback right sidestep button)
  335. _ButtonF(Y, BUTTON_UP, Forward, 0, Fallback forward button)
  336. _ButtonF(Y, BUTTON_DOWN, Backward, 0, Fallback backward button)
  337. _EndGenre
  338. _BeginGenre(FIGHTING_FPS, FPS,
  339. Fighting - First Person Shooting,
  340. Navigation and combat are primary objectives)
  341. _Device(1stPerson)
  342. _Axis(X,ROTATE, 0, Rotate character left/right)
  343. _Axis(Y,MOVE, 0, Move forward/backward)
  344. _Button(FIRE, 0, Fire)
  345. _Button(WEAPONS, 0, Select next weapon)
  346. _Button(APPLY, 0, Use item)
  347. _Button(SELECT, 0, Select next inventory item)
  348. _Button(CROUCH, 0, Crouch/ climb down/ swim down)
  349. _Button(JUMP, 0, Jump/ climb up/ swim up)
  350. _Axis(Z, LOOKUPDOWN, 0, Look up / down )
  351. _Button(STRAFE, 0, Enable strafing while active)
  352. _Priority2
  353. _Pov(GLANCE, 0, Look around)
  354. _Button(DISPLAY, 0, Shows next on-screen display option/ map)
  355. _Axis(R,SIDESTEP, 0, Sidestep)
  356. _Button(DODGE, 0, Dodge)
  357. _Button(GLANCEL, 0, Glance Left)
  358. _Button(GLANCER, 0, Glance Right)
  359. _Button(FIRESECONDARY, 0, Alternative fire button)
  360. _ButtonF(X, BUTTON_LEFT, Rotate_left, 0, Fallback rotate left button)
  361. _ButtonF(X, BUTTON_RIGHT, Rotate_right, 0, Fallback rotate right button)
  362. _ButtonF(Y, BUTTON_UP, Forward, 0, Fallback forward button)
  363. _ButtonF(Y, BUTTON_DOWN, Backward, 0, Fallback backward button)
  364. _ButtonF(Z, BUTTON_UP, Glance_up, 0, Fallback look up button)
  365. _ButtonF(Z, BUTTON_DOWN, Glance_down,0, Fallback look down button)
  366. _ButtonF(R, BUTTON_LEFT, Step_Left, 0, Fallback step left button)
  367. _ButtonF(R, BUTTON_RIGHT, Step_Right, 0, Fallback step right button)
  368. _EndGenre
  369. _BeginGenre(FIGHTING_THIRDPERSON, TPS,
  370. Fighting - Third Person action,
  371. Perspective of camera is behind the main character)
  372. _Device(1stPerson)
  373. _Axis(R, Turn, 0, Turn left/right)
  374. _Axis(Y, Move, 0, Move forward/backward)
  375. _Button( Run, 0, Run or walk toggle switch)
  376. _Button( Action, 0, Action Button)
  377. _Button( Select, 0, Select next weapon)
  378. _Button( Use, 0, Use inventory item currently selected)
  379. _Button( Jump, 0, Character Jumps)
  380. _Priority2
  381. _Pov(Glance, 0, Look around)
  382. _Button(View, 0, Select camera view)
  383. _Button(StepLeft, 0, Character takes a left step)
  384. _Button(StepRight,0, Character takes a right step)
  385. _Axis(X,Step, 0, Character steps left/right)
  386. _Button(Dodge, 0, Character dodges or ducks)
  387. _Button(Inventory, 0, Cycle through inventory)
  388. _ButtonF(R, BUTTON_LEFT, Turn_left, 0, Fallback turn left button)
  389. _ButtonF(R, BUTTON_RIGHT, Turn_right, 0, Fallback turn right button)
  390. _ButtonF(Y, BUTTON_UP, Forward, 0, Fallback forward button)
  391. _ButtonF(Y, BUTTON_DOWN, Backward, 0, Fallback backward button)
  392. _ButtonF(P, BUTTON_UP, Glance_up, 0, Fallback look up button)
  393. _ButtonF(P, BUTTON_DOWN, Glance_down,0, Fallback look down button)
  394. _ButtonF(P, BUTTON_LEFT, Glance_left, 0, Fallback glance up button)
  395. _ButtonF(P, BUTTON_RIGHT, Glance_right, 0, Fallback glance right button)
  396. _EndGenre
  397. _BeginGenre(STRATEGY_ROLEPLAYING, STRATEGYR,
  398. Strategy - Role Playing,
  399. Navigation and problem solving are primary actions)
  400. _Device(Gamepad, Joystick)
  401. _Axis(X,LATERAL, 0, sidestep - left/right)
  402. _Axis(Y,MOVE, 0, move forward/backward)
  403. _Button(GET, 0, Acquire item)
  404. _Button(APPLY, 0, Use selected item)
  405. _Button(SELECT, 0, Select nextitem)
  406. _Button(ATTACK, 0, Attack)
  407. _Button(CAST, 0, Cast Spell)
  408. _Button(CROUCH, 0, Crouch)
  409. _Button(JUMP, 0, Jump)
  410. _Priority2
  411. _Pov(GLANCE, 0, Look around)
  412. _Button(MAP, 0, Cycle through map options)
  413. _Button(DISPLAY, 0, Shows next on-screen display option)
  414. _Axis(R,ROTATE, 0, Turn body left/right)
  415. _ButtonF(X, BUTTON_LEFT, left, 0, Fallback sidestep left button)
  416. _ButtonF(X, BUTTON_RIGHT, right, 0, Fallback sidestep right button)
  417. _ButtonF(Y, BUTTON_UP, Forward, 0, Fallback move forward button)
  418. _ButtonF(Y, BUTTON_DOWN, Back, 0, Fallback move backward button)
  419. _ButtonF(R, BUTTON_LEFT, Rotate_left, 0, Fallback turn body left button)
  420. _ButtonF(R, BUTTON_RIGHT, Rotate_right, 0, Fallback turn body right button)
  421. _EndGenre
  422. _BeginGenre(STRATEGY_TURN, STRATEGYT,
  423. Strategy - Turn based,
  424. Navigation and problem solving are primary actions)
  425. _Device(Gamepad, Joystick)
  426. _Axis(X,LATERAL, 0, Sidestep left/right)
  427. _Axis(Y,MOVE, 0, Move forward/backwards)
  428. _Button(SELECT, 0, Select unit or object)
  429. _Button(INSTRUCT, 0, Cycle through instructions)
  430. _Button(APPLY, 0, Apply selected instruction)
  431. _Button(TEAM, 0, Select next team / cycle through all)
  432. _Button(TURN, 0, Indicate turn over)
  433. _Priority2
  434. _Button(ZOOM, 0, Zoom - in / out)
  435. _Button(MAP, 0, cycle through map options)
  436. _Button(Display, 0, shows next on-screen display options)
  437. _ButtonF(X, BUTTON_LEFT, left, 0, Fallback sidestep left button)
  438. _ButtonF(X, BUTTON_RIGHT, right, 0, Fallback sidestep right button)
  439. _ButtonF(Y, BUTTON_UP, Forward, 0, Fallback move forward button)
  440. _ButtonF(Y, BUTTON_DOWN, Back, 0, Fallback move back button)
  441. _EndGenre
  442. _BeginGenre(SPORTS_HUNTING, HUNTING,
  443. Sports - Hunting,
  444. Hunting)
  445. _Device(Gamepad, Joystick)
  446. _Axis(X, Lateral, 0, sidestep left/right)
  447. _Axis(Y, Move, 0, move forward/backwards)
  448. _Button(Fire, 0, Fire selected weapon)
  449. _Button(Aim, 0, Select aim/move)
  450. _Button(Weapon, 0, Select next weapon)
  451. _Button(Binocular, 0, Look through Binoculars)
  452. _Button(Call, 0, Make animal call)
  453. _Button(Map, 0, View Map)
  454. _Button(Special, 0, Special game operation)
  455. _Priority2
  456. _Pov(Glance, 0, Look around)
  457. _Button(Display, 0, show next on-screen display option)
  458. _Axis(R, ROTATE,0, Turn body left/right)
  459. _Button(Crouch, 0, Crouch/ Climb / Swim down)
  460. _Button(Jump, 0, Jump/ Climb up / Swim up)
  461. _Button(Firesecondary, 0, Alternative fire button)
  462. _ButtonF(X, BUTTON_LEFT, left, 0, Fallback sidestep left button)
  463. _ButtonF(X, BUTTON_RIGHT, right, 0, Fallback sidestep right button)
  464. _ButtonF(Y, BUTTON_UP, Forward, 0, Fallback move forward button)
  465. _ButtonF(Y, BUTTON_DOWN, Back, 0, Fallback move back button)
  466. _ButtonF(R, BUTTON_LEFT, Rotate_left, 0, Fallback turn body left button)
  467. _ButtonF(R, BUTTON_RIGHT, Rotate_right, 0, Fallback turn body right button)
  468. _EndGenre
  469. _BeginGenre(SPORTS_FISHING, FISHING,
  470. Sports - Fishing,
  471. Catching Fish is primary objective )
  472. _Device(Gamepad, Joystick)
  473. _Axis(X, Lateral, 0, sidestep left/right)
  474. _Axis(Y, Move, 0, move forward/backwards)
  475. _Button( Cast, 0, Cast line)
  476. _Button( Type, 0, Select cast type)
  477. _Button( Binocular, 0, Look through Binocular)
  478. _Button( Bait, 0, Select type of Bait)
  479. _Button( Map, 0, View Map)
  480. _Priority2
  481. _Pov(Glance, 0, Look around)
  482. _Button( Display, 0, Show next on-screen display option)
  483. _Axis(R, ROTATE, 0, Turn character left / right)
  484. _Button(Crouch, 0, Crouch/ Climb / Swim down)
  485. _Button(Jump, 0, Jump/ Climb up / Swim up)
  486. _ButtonF(X, BUTTON_LEFT, left, 0, Fallback sidestep left button)
  487. _ButtonF(X, BUTTON_RIGHT, right, 0, Fallback sidestep right button)
  488. _ButtonF(Y, BUTTON_UP, Forward, 0, Fallback move forward button)
  489. _ButtonF(Y, BUTTON_DOWN, Back, 0, Fallback move back button)
  490. _ButtonF(R, BUTTON_LEFT, Rotate_left, 0, Fallback turn body left button)
  491. _ButtonF(R, BUTTON_RIGHT, Rotate_right, 0, Fallback turn body right button)
  492. _EndGenre
  493. _BeginGenre(SPORTS_BASEBALL_BAT, BASEBALLB,
  494. Sports - Baseball - Batting,
  495. Batter control is primary objective)
  496. _Device(Gamepad, Joystick)
  497. _Axis(X,Lateral, 0, Aim left / right)
  498. _Axis(Y,Move, 0, Aim up / down)
  499. _Button(Select, 0, cycle through swing options)
  500. _Button(Normal, 0, normal swing)
  501. _Button(Power, 0, swing for the fence)
  502. _Button(Bunt, 0, bunt)
  503. _Button(Steal, 0, Base runner attempts to steal a base)
  504. _Button(Burst, 0, Base runner invokes burst of speed)
  505. _Button(Slide, 0, Base runner slides into base)
  506. _Button(Contact, 0, Contact swing)
  507. _Priority2
  508. _Button(NoSteal, 0, Base runner goes back to a base)
  509. _Button(Box, 0, Enter or exit batting box)
  510. _ButtonF(X, BUTTON_LEFT, left, 0, Fallback sidestep left button)
  511. _ButtonF(X, BUTTON_RIGHT,right, 0, Fallback sidestep right button)
  512. _ButtonF(Y, BUTTON_UP, Forward, 0, Fallback move forward button)
  513. _ButtonF(Y, BUTTON_DOWN, Back, 0, Fallback move back button)
  514. _EndGenre
  515. _BeginGenre(SPORTS_BASEBALL_PITCH, BASEBALLP,
  516. Sports - Baseball - Pitching,
  517. Pitcher control is primary objective )
  518. _Device(Gamepad, Joystick)
  519. _Axis(X,Lateral, 0, Aim left / right)
  520. _Axis(Y,Move, 0, Aim up / down)
  521. _Button(Select, 0, cycle through pitch selections)
  522. _Button(Pitch, 0, throw pitch)
  523. _Button(Base, 0, select base to throw to)
  524. _Button(Throw, 0, throw to base)
  525. _Button(Fake, 0, Fake a throw to a base)
  526. _Priority2
  527. _Button(Walk, 0, Throw intentional walk / pitch out)
  528. _Button(Look, 0, Look at runners on bases)
  529. _ButtonF(X, BUTTON_LEFT, left, 0, Fallback sidestep left button)
  530. _ButtonF(X, BUTTON_RIGHT,right, 0, Fallback sidestep right button)
  531. _ButtonF(Y, BUTTON_UP, Forward, 0, Fallback move forward button)
  532. _ButtonF(Y, BUTTON_DOWN, Back, 0, Fallback move back button)
  533. _EndGenre
  534. _BeginGenre(SPORTS_BASEBALL_FIELD, BASEBALLF,
  535. Sports - Baseball - Fielding,
  536. Fielder control is primary objective)
  537. _Device(Gamepad, Joystick)
  538. _Axis(X,Lateral, 0, Aim left / right)
  539. _Axis(Y,Move, 0, Aim up / down)
  540. _Button(Nearest, 0, Switch to fielder nearest to the ball)
  541. _Button(Throw1, 0, Make conservative throw)
  542. _Button(Throw2, 0, Make aggressive throw)
  543. _Button(Burst, 0, Invoke burst of speed)
  544. _Button(Jump, 0, Jump to catch ball)
  545. _Button(Dive, 0, Dive to catch ball)
  546. _Priority2
  547. _Button(ShiftIn, 0, Shift the infield positioning)
  548. _Button(ShiftOut, 0, Shift the outfield positioning)
  549. _ButtonF(X, BUTTON_LEFT, Aim_left, 0, Fallback aim left button)
  550. _ButtonF(X, BUTTON_RIGHT, Aim_right, 0, Fallback aim right button)
  551. _ButtonF(Y, BUTTON_UP, Forward, 0, Fallback move forward button)
  552. _ButtonF(Y, BUTTON_DOWN, Back, 0, Fallback move back button)
  553. _EndGenre
  554. _BeginGenre(SPORTS_BASKETBALL_OFFENSE, BBALLO,
  555. Sports - Basketball - Offense,
  556. Offense)
  557. _Device(Gamepad, Joystick)
  558. _Axis(X,Lateral, 0, left / right)
  559. _Axis(Y,Move, 0, up / down)
  560. _Button(Shoot, 0, shoot basket)
  561. _Button(Dunk, 0, dunk basket)
  562. _Button(Pass, 0, throw pass)
  563. _Button(Fake, 0, fake shot or pass)
  564. _Button(Special, 0, apply special move)
  565. _Button(Player, 0, select next player)
  566. _Button(Burst, 0, invoke burst)
  567. _Button(Call, 0, call for ball / pass to me)
  568. _Priority2
  569. _Pov(Glance, 0, scroll view)
  570. _Button(Screen, 0, Call for screen)
  571. _Button(Play, 0, Call for specific offensive play)
  572. _Button(Jab, 0, Initiate fake drive to basket)
  573. _Button(Post, 0, Perform post move)
  574. _Button(TimeOut, 0, Time Out)
  575. _Button(Substitute, 0, substitute one player for another)
  576. _ButtonF(X, BUTTON_LEFT, left, 0, Fallback sidestep left button)
  577. _ButtonF(X, BUTTON_RIGHT,right, 0, Fallback sidestep right button)
  578. _ButtonF(Y, BUTTON_UP, Forward, 0, Fallback move forward button)
  579. _ButtonF(Y, BUTTON_DOWN, Back, 0, Fallback move back button)
  580. _EndGenre
  581. _BeginGenre(SPORTS_BASKETBALL_DEFENSE, BBALLD,
  582. Sports - Basketball - Defense,
  583. Defense)
  584. _Device(Gamepad, Joystick)
  585. _Axis(X,Lateral, 0, left / right)
  586. _Axis(Y,Move, 0, up / down)
  587. _Button(Jump, 0, jump to block shot)
  588. _Button(Steal, 0, attempt to steal ball)
  589. _Button(Fake, 0, fake block or steal)
  590. _Button(Special, 0, apply special move)
  591. _Button(Player, 0, select next player)
  592. _Button(Burst, 0, invoke burst)
  593. _Button(play, 0, call for specific defensive play)
  594. _Priority2
  595. _Pov(Glance, 0, scroll view)
  596. _Button(TimeOut, 0, Time Out)
  597. _Button(Substitute, 0, substitute one player for another)
  598. _ButtonF(X, BUTTON_LEFT, left, 0, Fallback sidestep left button)
  599. _ButtonF(X, BUTTON_RIGHT,right, 0, Fallback sidestep right button)
  600. _ButtonF(Y, BUTTON_UP, Forward, 0, Fallback move forward button)
  601. _ButtonF(Y, BUTTON_DOWN, Back, 0, Fallback move back button)
  602. _EndGenre
  603. _BeginGenre(SPORTS_FOOTBALL_FIELD, FOOTBALLP,
  604. Sports - Football - Play,
  605. Play selection)
  606. _Device(Gamepad, Joystick)
  607. _Button(Play, 0, cycle through available plays)
  608. _Button(Select, 0, select play)
  609. _Button(Help, 0, Bring up pop-up help)
  610. _Priority2
  611. _EndGenre
  612. _BeginGenre(SPORTS_FOOTBALL_QBCK, FOOTBALLQ,
  613. Sports - Football - QB,
  614. Offense: Quarterback / Kicker)
  615. _Device(Gamepad, Joystick)
  616. _Axis(X,Lateral, 0, Move / Aim: left / right)
  617. _Axis(Y,Move, 0, Move / Aim: up / down)
  618. _Button(Select, 0, Select)
  619. _Button(Snap, 0, snap ball - start play)
  620. _Button(Jump, 0, jump over defender)
  621. _Button(Slide, 0, Dive/Slide)
  622. _Button(Pass, 0, throws pass to receiver)
  623. _Button(Fake, 0, pump fake pass or fake kick)
  624. _Priority2
  625. _Button(FakeSnap, 0, Fake snap )
  626. _Button(Motion, 0, Send receivers in motion)
  627. _Button(Audible, 0, Change offensive play at line of scrimmage)
  628. _ButtonF(X, BUTTON_LEFT, left, 0, Fallback sidestep left button)
  629. _ButtonF(X, BUTTON_RIGHT,right, 0, Fallback sidestep right button)
  630. _ButtonF(Y, BUTTON_UP, Forward, 0, Fallback move forward button)
  631. _ButtonF(Y, BUTTON_DOWN, Back, 0, Fallback move back button)
  632. _EndGenre
  633. _BeginGenre(SPORTS_FOOTBALL_OFFENSE, FOOTBALLO,
  634. Sports - Football - Offense,
  635. Offense - Runner)
  636. _Device(Gamepad, Joystick)
  637. _Axis(X,Lateral, 0, Move / Aim: left / right)
  638. _Axis(Y,Move, 0, Move / Aim: up / down)
  639. _Button(Jump, 0, jump or hurdle over defender)
  640. _Button(LeftArm, 0, holds out left arm)
  641. _Button(RightArm, 0, holds out right arm)
  642. _Button(Throw, 0, throw pass or lateral ball to another runner)
  643. _Button(Spin, 0, Spin to avoid defenders)
  644. _Priority2
  645. _Button(Juke, 0, Use special move to avoid defenders)
  646. _Button(Shoulder, 0, Lower shoulder to run over defenders)
  647. _Button(Turbo, 0, Speed burst past defenders)
  648. _Button(Dive, 0, Dive over defenders)
  649. _Button(Zoom, 0, Zoom view in / out)
  650. _Button(Substitute, 0, substitute one player for another)
  651. _ButtonF(X, BUTTON_LEFT, left, 0, Fallback sidestep left button)
  652. _ButtonF(X, BUTTON_RIGHT,right, 0, Fallback sidestep right button)
  653. _ButtonF(Y, BUTTON_UP, Forward, 0, Fallback move forward button)
  654. _ButtonF(Y, BUTTON_DOWN, Back, 0, Fallback move back button)
  655. _EndGenre
  656. _BeginGenre( SPORTS_FOOTBALL_DEFENSE, FOOTBALLD,
  657. Sports - Football - Defense,
  658. Defense)
  659. _Device(Gamepad, Joystick)
  660. _Axis(X,Lateral, 0, Move / Aim: left / right)
  661. _Axis(Y,Move, 0, Move / Aim: up / down)
  662. _Button(Play, 0, cycle through available plays)
  663. _Button(Select, 0, select player closest to the ball)
  664. _Button(Jump, 0, jump to intercept or block)
  665. _Button(Tackle, 0, tackler runner)
  666. _Button(Fake, 0, hold down to fake tackle or intercept)
  667. _Button(SuperTackle, 0, Initiate special tackle)
  668. _Priority2
  669. _Button(Spin, 0, Spin to beat offensive line)
  670. _Button(Swim, 0, Swim to beat the offensive line)
  671. _Button(BullRush, 0, Bull rush the offensive line)
  672. _Button(Rip, 0, Rip the offensive line)
  673. _Button(Audible, 0, Change defensive play at the line of scrimmage)
  674. _Button(Zoom, 0, Zoom view in / out)
  675. _Button(Substitute, 0, substitute one player for another)
  676. _ButtonF(X, BUTTON_LEFT, left, 0, Fallback sidestep left button)
  677. _ButtonF(X, BUTTON_RIGHT,right, 0, Fallback sidestep right button)
  678. _ButtonF(Y, BUTTON_UP, Forward, 0, Fallback move forward button)
  679. _ButtonF(Y, BUTTON_DOWN, Back, 0, Fallback move back button)
  680. _EndGenre
  681. _BeginGenre(SPORTS_GOLF, GOLF,
  682. Sports - Golf,
  683. ,)
  684. _Device(Gamepad, Joystick)
  685. _Axis(X,Lateral, 0, Move / Aim: left / right)
  686. _Axis(Y,Move, 0, Move / Aim: up / down)
  687. _Button(Swing, 0, swing club)
  688. _Button(Select, 0, cycle between: club / swing strength / ball arc / ball spin)
  689. _Button(Up, 0, increase selection)
  690. _Button(Down, 0, decrease selection)
  691. _Button(Terrain, 0, shows terrain detail)
  692. _Button(Flyby, 0, view the hole via a flyby)
  693. _Priority2
  694. _Pov(Scroll, 0, scroll view)
  695. _Button(Zoom, 0, Zoom view in / out)
  696. _Button(TimeOut, 0, Call for time out)
  697. _Button(Substitute, 0, substitute one player for another)
  698. _ButtonF(X, BUTTON_LEFT, left, 0, Fallback sidestep left button)
  699. _ButtonF(X, BUTTON_RIGHT,right, 0, Fallback sidestep right button)
  700. _ButtonF(Y, BUTTON_UP, Forward, 0, Fallback move forward button)
  701. _ButtonF(Y, BUTTON_DOWN, Back, 0, Fallback move back button)
  702. _EndGenre
  703. _BeginGenre(SPORTS_HOCKEY_OFFENSE, HOCKEYO,
  704. Sports - Hockey - Offense,
  705. Offense)
  706. _Device(Gamepad, Joystick)
  707. _Axis(X,Lateral, 0, Move / Aim: left / right)
  708. _Axis(Y,Move, 0, Move / Aim: up / down)
  709. _Button(Shoot, 0, Shoot)
  710. _Button(Pass, 0, pass the puck)
  711. _Button(Burst, 0, invoke speed burst)
  712. _Button(Special, 0, invoke special move)
  713. _Button(Fake, 0, hold down to fake pass or kick)
  714. _Priority2
  715. _Pov(Scroll, 0, scroll view)
  716. _Button(Zoom, 0, Zoom view in / out)
  717. _Button(Strategy, 0, Invoke coaching menu for strategy help)
  718. _Button(TimeOut, 0, Call for time out)
  719. _Button(Substitute, 0, substitute one player for another)
  720. _ButtonF(X, BUTTON_LEFT, left, 0, Fallback sidestep left button)
  721. _ButtonF(X, BUTTON_RIGHT,right, 0, Fallback sidestep right button)
  722. _ButtonF(Y, BUTTON_UP, Forward, 0, Fallback move forward button)
  723. _ButtonF(Y, BUTTON_DOWN, Back, 0, Fallback move back button)
  724. _EndGenre
  725. _BeginGenre(SPORTS_HOCKEY_DEFENSE, HOCKEYD,
  726. Sports - Hockey - Defense,
  727. Defense)
  728. _Device(Gamepad, Joystick)
  729. _Axis(X,Lateral, 0, Move / Aim: left / right)
  730. _Axis(Y,Move, 0, Move / Aim: up / down)
  731. _Button(Player, 0, control player closest to the puck)
  732. _Button(Steal, 0, attempt steal)
  733. _Button(Burst, 0, speed burst or body check)
  734. _Button(Block, 0, block puck)
  735. _Button(Fake, 0, hold down to fake tackle or intercept)
  736. _Priority2
  737. _Pov(Scroll, 0, scroll view)
  738. _Button(Zoom, 0, Zoom view in / out)
  739. _Button(Strategy, 0, Invoke coaching menu for strategy help)
  740. _Button(TimeOut, 0, Call for time out)
  741. _Button(Substitute, 0, substitute one player for another)
  742. _ButtonF(X, BUTTON_LEFT, left, 0, Fallback sidestep left button)
  743. _ButtonF(X, BUTTON_RIGHT,right, 0, Fallback sidestep right button)
  744. _ButtonF(Y, BUTTON_UP, Forward, 0, Fallback move forward button)
  745. _ButtonF(Y, BUTTON_DOWN, Back, 0, Fallback move back button)
  746. _EndGenre
  747. _BeginGenre(SPORTS_HOCKEY_GOALIE, HOCKEYG,
  748. Sports - Hockey - Goalie,
  749. Goal tending)
  750. _Device(Gamepad, Joystick)
  751. _Axis(X,Lateral, 0, Move / Aim: left / right)
  752. _Axis(Y,Move, 0, Move / Aim: up / down)
  753. _Button(Pass, 0, pass puck)
  754. _Button(Poke, 0, poke / check / hack)
  755. _Button(Steal, 0, attempt steal)
  756. _Button(Block, 0, block puck)
  757. _Priority2
  758. _Pov(Scroll, 0, scroll view)
  759. _Button(Zoom, 0, Zoom view in / out)
  760. _Button(Strategy, 0, Invoke coaching menu for strategy help)
  761. _Button(TimeOut, 0, Call for time out)
  762. _Button(Substitute, 0, substitute one player for another)
  763. _ButtonF(X, BUTTON_LEFT, left, 0, Fallback sidestep left button)
  764. _ButtonF(X, BUTTON_RIGHT,right, 0, Fallback sidestep right button)
  765. _ButtonF(Y, BUTTON_UP, Forward, 0, Fallback move forward button)
  766. _ButtonF(Y, BUTTON_DOWN, Back, 0, Fallback move back button)
  767. _EndGenre
  768. _BeginGenre(SPORTS_BIKING_MOUNTAIN, BIKINGM,
  769. Sports - Mountain Biking,
  770. ,)
  771. _Device(Joystick, Gamepad)
  772. _Axis(X,Turn, 0, left / right)
  773. _Axis(Y,Pedal, 0, Pedal faster / slower / brake)
  774. _Button(Jump, 0, jump over obstacle)
  775. _Button(Camera, 0, switch camera view)
  776. _Button(Special1, 0, perform first special move)
  777. _Button(Select, 0, Select)
  778. _Button(Special2, 0, perform second special move)
  779. _Priority2
  780. _Pov(Scroll, 0, scroll view)
  781. _Button(Zoom, 0, Zoom view in / out)
  782. _Axis(B, Brake, 0, Brake axis )
  783. _ButtonF(X, BUTTON_LEFT, left, 0, Fallback turn left button)
  784. _ButtonF(X, BUTTON_RIGHT, right, 0, Fallback turn right button)
  785. _ButtonF(Y, BUTTON_UP, faster, 0, Fallback pedal faster button)
  786. _ButtonF(Y, BUTTON_DOWN, slower, 0, Fallback pedal slower button)
  787. _ButtonF(B, BUTTON_DOWN, Brake_button, 0, Fallback brake button)
  788. _EndGenre
  789. _BeginGenre(SPORTS_SKIING, SKIING,
  790. Sports: Skiing / Snowboarding / Skateboarding, , )
  791. _Device(Joystick, Gamepad )
  792. _Axis(X,Turn, 0, left / right)
  793. _Axis(Y,Speed, 0, faster / slower)
  794. _Button(Jump, 0, Jump)
  795. _Button(Crouch, 0, crouch down)
  796. _Button(Camera, 0, switch camera view)
  797. _Button(Special1, 0, perform first special move)
  798. _Button(Select, 0, Select)
  799. _Button(Special2, 0, perform second special move)
  800. _Priority2
  801. _Pov(Glance, 0, scroll view)
  802. _Button(Zoom, 0, Zoom view in / out)
  803. _ButtonF(X, BUTTON_LEFT, left, 0, Fallback turn left button)
  804. _ButtonF(X, BUTTON_RIGHT, right, 0, Fallback turn right button)
  805. _ButtonF(Y, BUTTON_UP, faster, 0, Fallback increase speed button)
  806. _ButtonF(Y, BUTTON_DOWN, slower, 0, Fallback decrease speed button)
  807. _EndGenre
  808. _BeginGenre(SPORTS_SOCCER_OFFENSE, SOCCERO,
  809. Sports - Soccer - Offense,
  810. Offense)
  811. _Device(GamePad, Joystick)
  812. _Axis(X,Lateral, 0, Move / Aim: left / right)
  813. _Axis(Y,Move, 0, Move / Aim: up / down)
  814. _Axis(Z,Bend, 0, Bend to soccer shot/pass)
  815. _Button(Shoot, 0, Shoot the ball)
  816. _Button(Pass, 0, Pass )
  817. _Button(Fake, 0, Fake)
  818. _Button(Player, 0, Select next player)
  819. _Button(Special1, 0, Apply special move)
  820. _Button(Select, 0, Select special move)
  821. _Priority2
  822. _Pov(Glance, 0, scroll view)
  823. _Button(Substitute, 0, Substitute one player for another)
  824. _Button(ShootLow, 0, Shoot the ball low)
  825. _Button(ShootHigh, 0, Shoot the ball high)
  826. _Button(PassThru, 0, Make a thru pass)
  827. _Button(Sprint, 0, Sprint / turbo boost)
  828. _Button(Control, 0, Obtain control of the ball)
  829. _Button(Head, 0, Attempt to head the ball)
  830. _ButtonF(X, BUTTON_LEFT, left, 0, Fallback sidestep left button)
  831. _ButtonF(X, BUTTON_RIGHT,right, 0, Fallback sidestep right button)
  832. _ButtonF(Y, BUTTON_UP, Forward, 0, Fallback move forward button)
  833. _ButtonF(Y, BUTTON_DOWN, Back, 0, Fallback move back button)
  834. _EndGenre
  835. _BeginGenre(SPORTS_SOCCER_DEFENSE, SOCCERD,
  836. Sports - Soccer - Defense,
  837. Defense)
  838. _Device(GamePad, Joystick)
  839. _Axis(X,Lateral, 0, Move / Aim: left / right)
  840. _Axis(Y,Move, 0, Move / Aim: up / down)
  841. _Button(Block, 0, Attempt to block shot)
  842. _Button(Steal, 0, Attempt to steal ball)
  843. _Button(Fake, 0, Fake a block or a steal)
  844. _Button(Player, 0, Select next player)
  845. _Button(Special, 0, Apply special move)
  846. _Button(Select, 0, Select special move)
  847. _Button(Slide, 0, Attempt a slide tackle)
  848. _Priority2
  849. _Pov(Glance, 0, scroll view)
  850. _Button(Foul, 0, Initiate a foul / hard-foul)
  851. _Button(Head, 0, Attempt a Header)
  852. _Button(Clear, 0, Attempt to clear the ball down the field)
  853. _Button(GoalieCharge, 0, Make the goalie charge out of the box)
  854. _Button(Substitute, 0, Substitute one player for another)
  855. _ButtonF(X, BUTTON_LEFT, left, 0, Fallback sidestep left button)
  856. _ButtonF(X, BUTTON_RIGHT,right, 0, Fallback sidestep right button)
  857. _ButtonF(Y, BUTTON_UP, Forward, 0, Fallback move forward button)
  858. _ButtonF(Y, BUTTON_DOWN, Back, 0, Fallback move back button)
  859. _EndGenre
  860. _BeginGenre(SPORTS_RACQUET, RACQUET,
  861. Sports - Racquet,
  862. Tennis - Table-Tennis - Squash )
  863. _Device(Gamepad, Joystick)
  864. _Axis(X,Lateral, 0, Move / Aim: left / right)
  865. _Axis(Y,Move, 0, Move / Aim: up / down)
  866. _Button(Swing, 0, Swing racquet)
  867. _Button(Backswing, 0, Swing backhand)
  868. _Button(Smash, 0, Smash shot)
  869. _Button(Special, 0, Special shot)
  870. _Button(Select, 0, Select special shot)
  871. _Priority2
  872. _Pov(Glance, 0, scroll view)
  873. _Button(TimeOut, 0, Call for time out)
  874. _Button(Substitute, 0, Substitute one player for another)
  875. _ButtonF(X, BUTTON_LEFT, left, 0, Fallback sidestep left button)
  876. _ButtonF(X, BUTTON_RIGHT,right, 0, Fallback sidestep right button)
  877. _ButtonF(Y, BUTTON_UP, Forward, 0, Fallback move forward button)
  878. _ButtonF(Y, BUTTON_DOWN, Back, 0, Fallback move back button)
  879. _EndGenre
  880. _BeginGenre(ARCADE_SIDE2SIDE, ARCADES,
  881. Arcade- 2D,
  882. Side to Side movement)
  883. _Device(Gamepad, Joystick)
  884. _Axis(X,Lateral, 0, left / right)
  885. _Axis(Y,Move, 0, up / down)
  886. _Button(Throw, 0, throw object)
  887. _Button(Carry, 0, carry object)
  888. _Button(Attack, 0, attack)
  889. _Button(Special, 0, apply special move)
  890. _Button(Select, 0, select special move)
  891. _Priority2
  892. _Pov(View, 0, scroll view left / right / up / down)
  893. _ButtonF(X, BUTTON_LEFT, left, 0, Fallback sidestep left button)
  894. _ButtonF(X, BUTTON_RIGHT,right, 0, Fallback sidestep right button)
  895. _ButtonF(Y, BUTTON_UP, Forward, 0, Fallback move forward button)
  896. _ButtonF(Y, BUTTON_DOWN, Back, 0, Fallback move back button)
  897. _ButtonF(P, BUTTON_UP, View_up, 0, Fallback scroll view up button)
  898. _ButtonF(P, BUTTON_DOWN, View_down, 0, Fallback scroll view down button)
  899. _ButtonF(P, BUTTON_LEFT, View_left, 0, Fallback scroll view left button)
  900. _ButtonF(P, BUTTON_RIGHT, View_right, 0, Fallback scroll view right button)
  901. _EndGenre
  902. _BeginGenre(ARCADE_PLATFORM, ARCADEP,
  903. Arcade - Platform Game,
  904. Character moves around on screen)
  905. _Device(Gamepad, Joystick)
  906. _Axis(X,Lateral, 0, Left / right)
  907. _Axis(Y,Move, 0, Up / down)
  908. _Button(Jump, 0, Jump)
  909. _Button(Fire, 0, Fire)
  910. _Button(Crouch, 0, Crouch)
  911. _Button(Special, 0, Apply special move)
  912. _Button(Select, 0, Select special move)
  913. _Priority2
  914. _Pov(View, 0, Scroll view)
  915. _Button(Firesecondary, 0, Alternative fire button)
  916. _ButtonF(X, BUTTON_LEFT, left, 0, Fallback sidestep left button)
  917. _ButtonF(X, BUTTON_RIGHT,right, 0, Fallback sidestep right button)
  918. _ButtonF(Y, BUTTON_UP, Forward, 0, Fallback move forward button)
  919. _ButtonF(Y, BUTTON_DOWN, Back, 0, Fallback move back button)
  920. _ButtonF(P, BUTTON_UP, View_up, 0, Fallback scroll view up button)
  921. _ButtonF(P, BUTTON_DOWN, View_down, 0, Fallback scroll view down button)
  922. _ButtonF(P, BUTTON_LEFT, View_left, 0, Fallback scroll view left button)
  923. _ButtonF(P, BUTTON_RIGHT, View_right, 0, Fallback scroll view right button)
  924. _EndGenre
  925. _BeginGenre(CAD_2DCONTROL, 2DCONTROL,
  926. CAD - 2D Object Control,
  927. Controls to select and move objects in 2D)
  928. _Device(1stPerson, Joystick)
  929. _Axis(X,Lateral, 0, Move view left / right)
  930. _Axis(Y,Move, 0, Move view up / down)
  931. _Axis(Z,Inout, 0, Zoom - in / out)
  932. _Button(Select, 0, Select Object)
  933. _Button(Special1, 0, Do first special operation)
  934. _Button(Special, 0, Select special operation)
  935. _Button(Special2, 0, Do second special operation)
  936. _Priority2
  937. _Pov(Hatswitch, 0, Hat switch)
  938. _Axis(R,RotateZ, 0, Rotate view clockwise / counterclockwise)
  939. _Button(Display, 0, Shows next on-screen display options)
  940. _EndGenre
  941. _BeginGenre(CAD_3DCONTROL, 3DCONTROL,
  942. CAD - 3D object control,
  943. Controls to select and move objects within a 3D environment)
  944. _Device(1stPerson, Joystick)
  945. _Axis(X,Lateral, 0, Move view left / right)
  946. _Axis(Y,Move, 0, Move view up / down)
  947. _Axis(Z,Inout, 0, Zoom - in / out)
  948. _Button(Select, 0, Select Object)
  949. _Button(Special1, 0, Do first special operation)
  950. _Button(Special, 0, Select special operation)
  951. _Button(Special2, 0, Do second special operation)
  952. _Priority2
  953. _Pov(Hatswitch, 0, Hat switch)
  954. _Axis(V,RotateX, 0, Rotate view forward or up / backward or down)
  955. _Axis(U,RotateY, 0, Rotate view clockwise / counterclockwise)
  956. _Axis(R,RotateZ, 0, Rotate view left / right)
  957. _Button(Display, 0, Show next on-screen display options)
  958. _EndGenre
  959. _BeginGenre(CAD_FLYBY, CADF,
  960. CAD - 3D Navigation - Fly through,
  961. Controls for 3D modeling)
  962. _Device(1stPerson, Joystick)
  963. _Axis(X,Lateral, 0, move view left / right)
  964. _Axis(Y,Move, 0, move view up / down)
  965. _Axis(Z,Inout, 0, in / out)
  966. _Button(Select, 0, Select Object)
  967. _Button(Special1, 0, do first special operation)
  968. _Button(Special, 0, Select special operation)
  969. _Button(Special2, 0, do second special operation)
  970. _Priority2
  971. _Pov(Hatswitch, 0, Hat switch)
  972. _Axis(V,RotateX, 0, Rotate view forward or up / backward or down)
  973. _Axis(U,RotateY, 0, Rotate view clockwise / counterclockwise)
  974. _Axis(R,RotateZ, 0, Rotate view left / right)
  975. _Button(Display, 0, shows next on-screen display options)
  976. _EndGenre
  977. _BeginGenre(CAD_MODEL, CADM,
  978. CAD - 3D Model Control,
  979. Controls for 3D modeling)
  980. _Device(1stPerson, Joystick)
  981. _Axis(X, Lateral, 0, move view left / right)
  982. _Axis(Y, Move, 0, move view up / down)
  983. _Axis(Z, Inout, 0, in / out)
  984. _Button( Select, 0, Select Object)
  985. _Button( Special1, 0, do first special operation)
  986. _Button( Special, 0, Select special operation)
  987. _Button( Special2, 0, do second special operation)
  988. _Priority2
  989. _Pov( Hatswitch, 0, Hat switch)
  990. _Axis(V, RotateX, 0, Rotate view forward or up / backward or down)
  991. _Axis(U, RotateY, 0, Rotate view clockwise / counterclockwise)
  992. _Axis(R, RotateZ, 0, Rotate view left / right)
  993. _Button( Display, 0, shows next on-screen display options)
  994. _EndGenre
  995. _BeginGenre(REMOTE_CONTROL, REMOTE,
  996. Control - Media Equipment,
  997. Remote)
  998. _Device( GamePad)
  999. _Axis(S,Slider, 0, Slider for adjustment: volume / color / bass / etc)
  1000. _Button(Mute, 0, Set volume on current device to zero)
  1001. _Button(Select, 0, Next/previous: channel/ track / chapter / picture / station)
  1002. _Button(Play, 4, Start or pause entertainment on current device)
  1003. _Button(Cue, 4, Move through current media)
  1004. _Button(Review, 4, Move through current media)
  1005. _Button(Change, 4, Select next device)
  1006. _Button(Record, 4, Start recording the current media)
  1007. _Priority2
  1008. _Axis(S,Slider2, 0, Slider for adjustment: volume, color, bass, etc)
  1009. _Button(TV, 3, Select TV)
  1010. _Button(Cable, 3, Select cable box)
  1011. _Button(CD, 3, Select CD player)
  1012. _Button(VCR, 3, Select VCR)
  1013. _Button(Tuner, 3, Select tuner)
  1014. _Button(DVD, 3, Select DVD player)
  1015. _Button(Adjust, 3, Enter device adjustment menu)
  1016. _Button(Digit0, 2, Digit 0)
  1017. _Button(Digit1, 2, Digit 1)
  1018. _Button(Digit2, 2, Digit 2)
  1019. _Button(Digit3, 2, Digit 3)
  1020. _Button(Digit4, 2, Digit 4)
  1021. _Button(Digit5, 2, Digit 5)
  1022. _Button(Digit6, 2, Digit 6)
  1023. _Button(Digit7, 2, Digit 7)
  1024. _Button(Digit8, 2, Digit 8)
  1025. _Button(Digit9, 2, Digit 9)
  1026. _EndGenre
  1027. _BeginGenre(BROWSER_CONTROL, BROWSER,
  1028. Control- Web,
  1029. Help or Browser)
  1030. _Device(GamePad, Joystick)
  1031. _Axis(X, Lateral, 0, Move on screen pointer)
  1032. _Axis(Y, Move, 0, Move on screen pointer)
  1033. _Button( Select, 0, Select current item)
  1034. _Axis(Z, View, 0, Move view up/down)
  1035. _Button( Refresh, 0, Refresh)
  1036. _Priority2
  1037. _Button(Search, 0, Use search tool)
  1038. _Button(Stop, 0, Cease current update)
  1039. _Button(Home, 0, Go directly to "home" location)
  1040. _Button(Favorites, 0, Mark current site as favorite)
  1041. _Button(Next, 0, Select Next page)
  1042. _Button(Previous, 0, Select Previous page)
  1043. _Button(History, 0, Show/Hide History)
  1044. _Button(Print, 0, Print current page)
  1045. _EndGenre
  1046. _BeginGenre(DRIVING_MECHA, MECHA,
  1047. Driving Simulator - Giant Walking Robot,
  1048. Walking tank with weapons)
  1049. _Device(Joystick)
  1050. _Axis(X, STEER, 0, Turns mecha left/right)
  1051. _Axis(Y, TORSO, 0, Tilts torso forward/backward)
  1052. _Axis(R, ROTATE, 0, Turns torso left/right)
  1053. _Axis(A, Throttle,0, Engine Speed)
  1054. _Button(Fire, 0, Fire)
  1055. _Button(Weapons, 0, Select next weapon group)
  1056. _Button(Target, 0, Select closest enemy available target)
  1057. _Button(Reverse, 0, Toggles throttle in/out of reverse)
  1058. _Button(Zoom, 0, Zoom in/out targeting reticule)
  1059. _Button(Jump, 0, Fires jump jets)
  1060. _Priority2
  1061. _Button(Center, 0, Center torso to legs)
  1062. _Pov(Glance, 0, Look around)
  1063. _Button(View, 0, Cycle through view options)
  1064. _Button(Firesecondary, 0, Alternative fire button)
  1065. _ButtonF(X, BUTTON_LEFT, left, 0, Fallback steer left button)
  1066. _ButtonF(X, BUTTON_RIGHT, right, 0, Fallback steer right button)
  1067. _ButtonF(Y, BUTTON_UP, forward, 0, Fallback tilt torso forward button)
  1068. _ButtonF(Y, BUTTON_DOWN, back, 0, Fallback tilt toroso backward button)
  1069. _ButtonF(R, BUTTON_LEFT, rotate_left, 0, Fallback rotate toroso right button)
  1070. _ButtonF(R, BUTTON_RIGHT, rotate_right, 0, Fallback rotate torso left button)
  1071. _ButtonF(A, BUTTON_UP, faster, 0, Fallback increase engine speed)
  1072. _ButtonF(A, BUTTON_DOWN, slower,0, Fallback decrease engine speed)
  1073. _EndGenre
  1074. ;begin_internal
  1075. define(`GENRE_ANY', 0xFF)
  1076. _CDefine(DIAS_INDEX_SPECIAL, 0xFC)
  1077. _CDefine(DIAS_INDEX_LINK, 0xE0)
  1078. _CDefine(DIGENRE_ANY, `GENRE_ANY')
  1079. _CDefine(DISEMGENRE_ANY, `_Semantic(`GENRE_ANY',0,0,0,0,0)')
  1080. _CDefine(DISEM_TYPEANDMODE_GET(x), ( ( x & ( DISEM_TYPE_MASK | DISEM_REL_MASK ) ) >> DISEM_REL_SHIFT ))
  1081. _CDefine(DISEM_VALID, ( ~DISEM_RES_MASK ))
  1082. ;end_internal
  1083. /*
  1084. * "ANY" semantics can be used as a last resort to get mappings for actions
  1085. * that match nothing in the chosen virtual genre. These semantics will be
  1086. * mapped at a lower priority that virtual genre semantics. Also, hardware
  1087. * vendors will not be able to provide sensible mappings for these unless
  1088. * they provide application specific mappings.
  1089. */
  1090. _CDefine(DIAXIS_ANY_X_1,`_Semantic(`GENRE_ANY',1,_FLAGS_X,_TYPE_AXIS, 0,1)' )
  1091. _CDefine(DIAXIS_ANY_X_2,`_Semantic(`GENRE_ANY',1,_FLAGS_X,_TYPE_AXIS, 0,2)' )
  1092. _CDefine(DIAXIS_ANY_Y_1,`_Semantic(`GENRE_ANY',1,_FLAGS_Y,_TYPE_AXIS, 0,1)' )
  1093. _CDefine(DIAXIS_ANY_Y_2,`_Semantic(`GENRE_ANY',1,_FLAGS_Y,_TYPE_AXIS, 0,2)' )
  1094. _CDefine(DIAXIS_ANY_Z_1,`_Semantic(`GENRE_ANY',1,_FLAGS_Z,_TYPE_AXIS, 0,1)' )
  1095. _CDefine(DIAXIS_ANY_Z_2,`_Semantic(`GENRE_ANY',1,_FLAGS_Z,_TYPE_AXIS, 0,2)' )
  1096. _CDefine(DIAXIS_ANY_R_1,`_Semantic(`GENRE_ANY',1,_FLAGS_R,_TYPE_AXIS, 0,1)' )
  1097. _CDefine(DIAXIS_ANY_R_2,`_Semantic(`GENRE_ANY',1,_FLAGS_R,_TYPE_AXIS, 0,2)' )
  1098. _CDefine(DIAXIS_ANY_U_1,`_Semantic(`GENRE_ANY',1,_FLAGS_U,_TYPE_AXIS, 0,1)' )
  1099. _CDefine(DIAXIS_ANY_U_2,`_Semantic(`GENRE_ANY',1,_FLAGS_U,_TYPE_AXIS, 0,2)' )
  1100. _CDefine(DIAXIS_ANY_V_1,`_Semantic(`GENRE_ANY',1,_FLAGS_V,_TYPE_AXIS, 0,1)' )
  1101. _CDefine(DIAXIS_ANY_V_2,`_Semantic(`GENRE_ANY',1,_FLAGS_V,_TYPE_AXIS, 0,2)' )
  1102. _CDefine(DIAXIS_ANY_A_1,`_Semantic(`GENRE_ANY',1,_FLAGS_A,_TYPE_AXIS, 0,1)' )
  1103. _CDefine(DIAXIS_ANY_A_2,`_Semantic(`GENRE_ANY',1,_FLAGS_A,_TYPE_AXIS, 0,2)' )
  1104. _CDefine(DIAXIS_ANY_B_1,`_Semantic(`GENRE_ANY',1,_FLAGS_B,_TYPE_AXIS, 0,1)' )
  1105. _CDefine(DIAXIS_ANY_B_2,`_Semantic(`GENRE_ANY',1,_FLAGS_B,_TYPE_AXIS, 0,2)' )
  1106. _CDefine(DIAXIS_ANY_C_1,`_Semantic(`GENRE_ANY',1,_FLAGS_C,_TYPE_AXIS, 0,1)' )
  1107. _CDefine(DIAXIS_ANY_C_2,`_Semantic(`GENRE_ANY',1,_FLAGS_C,_TYPE_AXIS, 0,2)' )
  1108. _CDefine(DIAXIS_ANY_S_1,`_Semantic(`GENRE_ANY',1,_FLAGS_S,_TYPE_AXIS, 0,1)' )
  1109. _CDefine(DIAXIS_ANY_S_2,`_Semantic(`GENRE_ANY',1,_FLAGS_S,_TYPE_AXIS, 0,2)' )
  1110. _CDefine(DIAXIS_ANY_1, `_Semantic(`GENRE_ANY',1,0 ,_TYPE_AXIS, 0,1)' )
  1111. _CDefine(DIAXIS_ANY_2, `_Semantic(`GENRE_ANY',1,0 ,_TYPE_AXIS, 0,2)' )
  1112. _CDefine(DIAXIS_ANY_3, `_Semantic(`GENRE_ANY',1,0 ,_TYPE_AXIS, 0,3)' )
  1113. _CDefine(DIAXIS_ANY_4, `_Semantic(`GENRE_ANY',1,0 ,_TYPE_AXIS, 0,4)' )
  1114. _CDefine(DIPOV_ANY_1, `_Semantic(`GENRE_ANY',1,0 ,_TYPE_POV ,0,1)' )
  1115. _CDefine(DIPOV_ANY_2, `_Semantic(`GENRE_ANY',1,0 ,_TYPE_POV ,0,2)' )
  1116. _CDefine(DIPOV_ANY_3, `_Semantic(`GENRE_ANY',1,0 ,_TYPE_POV ,0,3)' )
  1117. _CDefine(DIPOV_ANY_4, `_Semantic(`GENRE_ANY',1,0 ,_TYPE_POV ,0,4)' )
  1118. _CDefine(DIBUTTON_ANY(instance), ( `_Semantic(`GENRE_ANY',1,0 ,_TYPE_BUTTON,0,0)' | instance ))
  1119. _EndFile