minetest.joystick.amgp 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <joystick configversion="19" appversion="2.21">
  3. <!--The SDL name for a joystick is included for informational purposes only.-->
  4. <sdlname>Microntek USB Joystick </sdlname>
  5. <!--The GUID for a joystick is included for informational purposes only.-->
  6. <guid>03000000790000000600000010010000</guid>
  7. <sets>
  8. <set index="1">
  9. <axis index="1">
  10. <throttle>normal</throttle>
  11. <axisbutton index="1">
  12. <mousespeedx>10</mousespeedx>
  13. <mousespeedy>10</mousespeedy>
  14. <slots>
  15. <slot>
  16. <code>3</code>
  17. <mode>mousemovement</mode>
  18. </slot>
  19. </slots>
  20. </axisbutton>
  21. <axisbutton index="2">
  22. <mousespeedx>10</mousespeedx>
  23. <mousespeedy>10</mousespeedy>
  24. <slots>
  25. <slot>
  26. <code>4</code>
  27. <mode>mousemovement</mode>
  28. </slot>
  29. </slots>
  30. </axisbutton>
  31. </axis>
  32. <axis index="2">
  33. <throttle>normal</throttle>
  34. <axisbutton index="1">
  35. <mousespeedx>10</mousespeedx>
  36. <mousespeedy>10</mousespeedy>
  37. <slots>
  38. <slot>
  39. <code>1</code>
  40. <mode>mousemovement</mode>
  41. </slot>
  42. </slots>
  43. </axisbutton>
  44. <axisbutton index="2">
  45. <mousespeedx>10</mousespeedx>
  46. <mousespeedy>10</mousespeedy>
  47. <slots>
  48. <slot>
  49. <code>2</code>
  50. <mode>mousemovement</mode>
  51. </slot>
  52. </slots>
  53. </axisbutton>
  54. </axis>
  55. <axis index="3">
  56. <throttle>normal</throttle>
  57. <axisbutton index="1">
  58. <mousespeedx>30</mousespeedx>
  59. <mousespeedy>30</mousespeedy>
  60. <slots>
  61. <slot>
  62. <code>3</code>
  63. <mode>mousemovement</mode>
  64. </slot>
  65. </slots>
  66. </axisbutton>
  67. <axisbutton index="2">
  68. <mousespeedx>30</mousespeedx>
  69. <mousespeedy>30</mousespeedy>
  70. <slots>
  71. <slot>
  72. <code>4</code>
  73. <mode>mousemovement</mode>
  74. </slot>
  75. </slots>
  76. </axisbutton>
  77. </axis>
  78. <axis index="4">
  79. <throttle>normal</throttle>
  80. <axisbutton index="1">
  81. <mousespeedx>30</mousespeedx>
  82. <mousespeedy>30</mousespeedy>
  83. <slots>
  84. <slot>
  85. <code>1</code>
  86. <mode>mousemovement</mode>
  87. </slot>
  88. </slots>
  89. </axisbutton>
  90. <axisbutton index="2">
  91. <mousespeedx>30</mousespeedx>
  92. <mousespeedy>30</mousespeedy>
  93. <slots>
  94. <slot>
  95. <code>2</code>
  96. <mode>mousemovement</mode>
  97. </slot>
  98. </slots>
  99. </axisbutton>
  100. </axis>
  101. <dpad index="1">
  102. <dpadbutton index="1">
  103. <slots>
  104. <slot>
  105. <code>0x57</code>
  106. <mode>keyboard</mode>
  107. </slot>
  108. </slots>
  109. </dpadbutton>
  110. <dpadbutton index="2">
  111. <slots>
  112. <slot>
  113. <code>0x44</code>
  114. <mode>keyboard</mode>
  115. </slot>
  116. </slots>
  117. </dpadbutton>
  118. <dpadbutton index="4">
  119. <slots>
  120. <slot>
  121. <code>0x53</code>
  122. <mode>keyboard</mode>
  123. </slot>
  124. </slots>
  125. </dpadbutton>
  126. <dpadbutton index="8">
  127. <slots>
  128. <slot>
  129. <code>0x41</code>
  130. <mode>keyboard</mode>
  131. </slot>
  132. </slots>
  133. </dpadbutton>
  134. </dpad>
  135. <button index="1">
  136. <slots>
  137. <slot>
  138. <code>0x1000020</code>
  139. <mode>keyboard</mode>
  140. </slot>
  141. </slots>
  142. </button>
  143. <button index="2">
  144. <slots>
  145. <slot>
  146. <code>3</code>
  147. <mode>mousebutton</mode>
  148. </slot>
  149. </slots>
  150. </button>
  151. <button index="3">
  152. <slots>
  153. <slot>
  154. <code>0x20</code>
  155. <mode>keyboard</mode>
  156. </slot>
  157. </slots>
  158. </button>
  159. <button index="4">
  160. <slots>
  161. <slot>
  162. <code>1</code>
  163. <mode>mousebutton</mode>
  164. </slot>
  165. </slots>
  166. </button>
  167. <button index="5">
  168. <slots>
  169. <slot>
  170. <code>0x45</code>
  171. <mode>keyboard</mode>
  172. </slot>
  173. </slots>
  174. </button>
  175. <button index="6">
  176. <slots>
  177. <slot>
  178. <code>0x49</code>
  179. <mode>keyboard</mode>
  180. </slot>
  181. </slots>
  182. </button>
  183. <button index="7">
  184. <wheelspeedy>5</wheelspeedy>
  185. <slots>
  186. <slot>
  187. <code>4</code>
  188. <mode>mousebutton</mode>
  189. </slot>
  190. </slots>
  191. </button>
  192. <button index="8">
  193. <wheelspeedy>5</wheelspeedy>
  194. <slots>
  195. <slot>
  196. <code>5</code>
  197. <mode>mousebutton</mode>
  198. </slot>
  199. </slots>
  200. </button>
  201. <button index="9">
  202. <slots>
  203. <slot>
  204. <code>0x4a</code>
  205. <mode>keyboard</mode>
  206. </slot>
  207. </slots>
  208. </button>
  209. <button index="10">
  210. <slots>
  211. <slot>
  212. <code>0x4b</code>
  213. <mode>keyboard</mode>
  214. </slot>
  215. </slots>
  216. </button>
  217. <button index="12">
  218. <slots>
  219. <slot>
  220. <code>0x51</code>
  221. <mode>keyboard</mode>
  222. </slot>
  223. </slots>
  224. </button>
  225. </set>
  226. </sets>
  227. </joystick>