Guest User

Untitled

a guest
Dec 31st, 2015
212
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <mameconfig version="10">
  3. <controlleralias>
  4. <id>keyboard</id>
  5. <alias>keyboard</alias>
  6. </controlleralias>
  7. <controlleralias>
  8. <id>HID#VID_FAFA_PID_0060#7_2123a445_0_0000#</id>
  9. <alias>Spinner</alias>
  10. </controlleralias>
  11. <controlleralias>
  12. <id>HID#VID_FAFA_PID_0020#7_6470b0e_0_0000#</id>
  13. <alias>Trackball</alias>
  14. </controlleralias>
  15. <system name="default">
  16. <controller id="keyboard">
  17. <input>
  18. <port type="P1_JOYSTICK_DOWN">
  19. <newseq type="standard">KEYCODE_DOWN</newseq>
  20. </port>
  21. <port type="P1_JOYSTICK_LEFT">
  22. <newseq type="standard">KEYCODE_LEFT</newseq>
  23. </port>
  24. <port type="P1_JOYSTICK_RIGHT">
  25. <newseq type="standard">KEYCODE_RIGHT</newseq>
  26. </port>
  27. <port type="P1_BUTTON1">
  28. <newseq type="standard">KEYCODE_LCONTROL</newseq>
  29. </port>
  30. <port type="P1_BUTTON2">
  31. <newseq type="standard">KEYCODE_LALT</newseq>
  32. </port>
  33. <port type="P1_BUTTON3">
  34. <newseq type="standard">KEYCODE_SPACE</newseq>
  35. </port>
  36. <port type="P1_BUTTON4">
  37. <newseq type="standard">KEYCODE_LSHIFT</newseq>
  38. </port>
  39. <port type="P1_BUTTON5">
  40. <newseq type="standard">KEYCODE_Z</newseq>
  41. </port>
  42. <port type="P1_BUTTON6">
  43. <newseq type="standard">KEYCODE_X</newseq>
  44. </port>
  45. <port type="P2_JOYSTICK_UP">
  46. <newseq type="standard">KEYCODE_R</newseq>
  47. </port>
  48. <port type="P2_JOYSTICK_DOWN">
  49. <newseq type="standard">KEYCODE_F</newseq>
  50. </port>
  51. <port type="P2_JOYSTICK_LEFT">
  52. <newseq type="standard">KEYCODE_D</newseq>
  53. </port>
  54. <port type="P2_JOYSTICK_RIGHT">
  55. <newseq type="standard">KEYCODE_G</newseq>
  56. </port>
  57. <port type="P2_BUTTON1">
  58. <newseq type="standard">KEYCODE_A</newseq>
  59. </port>
  60. <port type="P2_BUTTON2">
  61. <newseq type="standard">KEYCODE_S</newseq>
  62. </port>
  63. <port type="P2_BUTTON3">
  64. <newseq type="standard">KEYCODE_Q</newseq>
  65. </port>
  66. <port type="P2_BUTTON4">
  67. <newseq type="standard">KEYCODE_W</newseq>
  68. </port>
  69. <port type="P2_BUTTON5">
  70. <newseq type="standard">KEYCODE_E</newseq>
  71. </port>
  72. <port type="P2_BUTTON6">
  73. <newseq type="standard">KEYCODE_OPENBRACE</newseq>
  74. </port>
  75. <port type="P3_JOYSTICK_UP">
  76. <newseq type="standard">KEYCODE_PGUP</newseq>
  77. </port>
  78. <port type="P3_JOYSTICK_DOWN">
  79. <newseq type="standard">KEYCODE_PGDN</newseq>
  80. </port>
  81. <port type="P3_JOYSTICK_LEFT">
  82. <newseq type="standard">KEYCODE_HOME</newseq>
  83. </port>
  84. <port type="P3_JOYSTICK_RIGHT">
  85. <newseq type="standard">KEYCODE_END</newseq>
  86. </port>
  87. <port type="P3_BUTTON1">
  88. <newseq type="standard">KEYCODE_ENTER</newseq>
  89. </port>
  90. <port type="P3_BUTTON2">
  91. <newseq type="standard">KEYCODE_BACKSLASH</newseq>
  92. </port>
  93. <port type="P3_BUTTON3">
  94. <newseq type="standard">KEYCODE_RCONTROL</newseq>
  95. </port>
  96. <port type="P3_BUTTON4">
  97. <newseq type="standard">KEYCODE_RSHIFT</newseq>
  98. </port>
  99. <port type="P4_JOYSTICK_UP">
  100. <newseq type="standard">KEYCODE_Y</newseq>
  101. </port>
  102. <port type="P4_JOYSTICK_DOWN">
  103. <newseq type="standard">KEYCODE_N</newseq>
  104. </port>
  105. <port type="P4_JOYSTICK_LEFT">
  106. <newseq type="standard">KEYCODE_V</newseq>
  107. </port>
  108. <port type="P4_JOYSTICK_RIGHT">
  109. <newseq type="standard">KEYCODE_U</newseq>
  110. </port>
  111. <port type="P4_BUTTON1">
  112. <newseq type="standard">KEYCODE_0PAD</newseq>
  113. </port>
  114. <port type="P4_BUTTON2">
  115. <newseq type="standard">KEYCODE_ASTERISK</newseq>
  116. </port>
  117. <port type="P4_BUTTON3">
  118. <newseq type="standard">KEYCODE_ENTERPAD</newseq>
  119. </port>
  120. <port type="P4_BUTTON4">
  121. <newseq type="standard">KEYCODE_PLUSPAD</newseq>
  122. </port>
  123. <port type="START1">
  124. <newseq type="standard">KEYCODE_1</newseq>
  125. </port>
  126. <port type="START2">
  127. <newseq type="standard">KEYCODE_2</newseq>
  128. </port>
  129. <port type="START3">
  130. <newseq type="standard">KEYCODE_3</newseq>
  131. </port>
  132. <port type="START4">
  133. <newseq type="standard">KEYCODE_4</newseq>
  134. </port>
  135. <port type="COIN1">
  136. <newseq type="standard">KEYCODE_5</newseq>
  137. </port>
  138. <port type="COIN2">
  139. <newseq type="standard">KEYCODE_6</newseq>
  140. </port>
  141. <port type="COIN3">
  142. <newseq type="standard">KEYCODE_7</newseq>
  143. </port>
  144. <port type="COIN4">
  145. <newseq type="standard">KEYCODE_8</newseq>
  146. </port>
  147. </input>
  148. </controller>
  149. <controller id="Spinner">
  150. <input>
  151. <port type="P1_DIAL">
  152. <newseq type="standard">MOUSECODE_1_XAXIS</newseq>
  153. </port>
  154. </input>
  155. </controller>
  156. <controller id="Trackball">
  157. <input>
  158. <port type="P1_TRACKBALL_X">
  159. <newseq type="standard">MOUSECODE_1_XAXIS</newseq>
  160. </port>
  161. </input>
  162. </controller>
  163. <input />
  164. </system>
  165. </mameconfig>
RAW Paste Data