Advertisement
Guest User

DX Button Bindings for VKB Gladiator NXT Premium

a guest
Mar 21st, 2023
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.79 KB | None | 0 0
  1. ##==================================================================
  2. ## * DX Joystick Buttons and Hats
  3. ##
  4. ## for VKB Gladiator NXT (Premium) w/ SEM extension module
  5. ## PIDVID: 0204231D
  6. ##
  7. ## The button numbering requires following cfg:
  8. ## set g_nButtonsPerDevice 128
  9. ## set g_nHotasPinkyShiftMagnitude 2000
  10. ##
  11. ## Button Table:
  12. ## 0 => trigger1
  13. ## 1 => trigger2
  14. ## 2 => red-button (pickle)
  15. ## 3 => grey-button (missile-step)
  16. ## 4 => pinky-button
  17. ## 5-9 => lower-middle hat
  18. ## 10-14 => upper-right hat
  19. ## 15-19 => lower-stick hat
  20. ## 20,21 => trigger-switch
  21. ## 22,23 => left-encoder
  22. ## 24,25 => right-encoder
  23. ## 26 => center-base
  24. ## 27 => left-base
  25. ## 28 => right-base
  26. ## Hat => upper-left (click to toggle mode from analog Rx/Ry axes to digital hat)
  27. ## ---
  28. ## 40-56 => SEM side-extension module
  29.  
  30. ##----------------------------------------
  31. ## Stick Buttons
  32. ##
  33. SimTriggerFirstDetent 0 -1 -2 0 0x0 0
  34. SimTriggerSecondDetent 1 -1 -2 0 0x0 0
  35.  
  36. SimPickle 2 -1 -2 0 0x0 0
  37. SimMissileStep 3 -1 -2 0 0x0 0
  38.  
  39. SimHotasPinkyShift 4 -1 -2 0 0x0 0
  40.  
  41. # (shifted)
  42. SimTriggerFirstDetent 2000 -1 -2 0 0x0 0
  43. SimTriggerSecondDetent 2001 -1 -2 0 0x0 0
  44.  
  45. SimPickle 2002 -1 -2 0 0x0 0
  46. SimToggleMissileCage 2003 -1 -2 0 0x0 0
  47.  
  48. SimHotasPinkyShift 2004 -1 -2 0 0x0 0
  49.  
  50. ##----------------------------------------
  51. ## Middle Hat Switches
  52. ##
  53. SimDMSUp 5 -1 -2 0 0x0 0
  54. SimDMSRight 6 -1 -2 0 0x0 0
  55. SimDMSDown 7 -1 -2 0 0x0 0
  56. SimDMSLeft 8 -1 -2 0 0x0 0
  57.  
  58. SimCursorEnable 9 -1 -2 0 0x0 0
  59.  
  60. # (shifted)
  61. OTWSelectF3PadlockModeAA 2005 -1 -2 0 0x0 0
  62. OTWStepNextPadlock 2006 -1 -2 0 0x0 0
  63. OTWSelectF3PadlockModeAG 2007 -1 -2 0 0x0 0
  64. OTWStepPrevPadlock 2008 -1 -2 0 0x0 0
  65.  
  66. SimRadarCursorZero 2009 -1 -2 0 0x0 0
  67.  
  68. ##----------------------------------------
  69. ## Upper Hat Switches
  70. ##
  71. SimTMSUp 10 -1 -2 0 0x0 0
  72. SimTMSRight 11 -1 -2 0 0x0 0
  73. SimTMSDown 12 -1 -2 0 0x0 0
  74. SimTMSLeft 13 -1 -2 0 0x0 0
  75.  
  76. SimToggleMissileCage 14 -1 -2 0 0x0 0
  77.  
  78. # (shifted)
  79. SimTMSUp 2010 -1 -2 0 0x0 0
  80. SimTMSRight 2011 -1 -2 0 0x0 0
  81. SimTMSDown 2012 -1 -2 0 0x0 0
  82. SimTMSLeft 2013 -1 -2 0 0x0 0
  83.  
  84. SimToggleMissileCage 2014 -1 -2 0 0x0 0
  85.  
  86. ##----------------------------------------
  87. ## Stick Hat Switches
  88. ##
  89. SimCMSUp 15 -1 -2 0 0x0 0
  90. SimCMSRight 16 -1 -2 0 0x0 0
  91. SimCMSDown 17 -1 -2 0 0x0 0
  92. SimCMSLeft 18 -1 -2 0 0x0 0
  93.  
  94. SimSlapSwitch 19 -1 -2 0 0x0 0
  95.  
  96. # (shifted)
  97. SimTransmitCom1 2015 -1 -2 0 0x0 0
  98. SimCommsSwitchRight 2016 -1 -2 0 0x0 0
  99. SimTransmitCom2 2017 -1 -2 0 0x0 0
  100. SimCommsSwitchLeft 2018 -1 -2 0 0x0 0
  101.  
  102. SimSlapSwitch 2019 -1 -2 0 0x0 0
  103.  
  104. ##----------------------------------------
  105. ## Trigger-Clicker Switch
  106. ##
  107. OTWGlanceForward 20 -1 -2 0 0x0 0
  108. OTWSelect3DCockpitMode 21 -1 -2 0 0x0 0
  109.  
  110. # (shifted)
  111. FOVToggle 2020 -1 -2 0 0x0 0
  112. FOVDefault 2021 -1 -2 0 0x0 0
  113.  
  114. ##----------------------------------------
  115. ## Left Encoder Wheel
  116. ##
  117. SimRadarElevationUp 22 -1 -2 0 0x0 0
  118. SimRadarElevationDown 23 -1 -2 0 0x0 0
  119.  
  120. # (shifted)
  121. SimRadarElevationUp 2022 -1 -2 0 0x0 0
  122. SimRadarElevationDown 2023 -1 -2 0 0x0 0
  123.  
  124. ##TODO: shifted encoder wheels: hmcs? fov-zoom? fcr/hsd-range? crs/hdg knobs?
  125.  
  126. ##----------------------------------------
  127. ## Right Encoder Wheel
  128. ##
  129. SimRangeKnobUp 24 -1 -2 0 0x0 0
  130. SimRangeKnobDown 25 -1 -2 0 0x0 0
  131.  
  132. # (shifted)
  133. SimRangeKnobUp 2024 -1 -2 0 0x0 0
  134. SimRangeKnobDown 2025 -1 -2 0 0x0 0
  135.  
  136. ##----------------------------------------
  137. ## Base Buttons
  138. ##
  139. SimRightAPMid 26 -1 -2 0 0x0 0
  140. SimRightAPDown 27 -1 -2 0 0x0 0
  141. SimRightAPUp 28 -1 -2 0 0x0 0
  142.  
  143. # (shifted)
  144. SimLeftAPMid 2026 -1 -2 0 0x0 0
  145. SimLeftAPDown 2027 -1 -2 0 0x0 0
  146. SimLeftAPUp 2028 -1 -2 0 0x0 0
  147.  
  148. ##----------------------------------------
  149. ## Digital Hat - (bugbug: default POV-pan functionality seems to work smoother)
  150. ##
  151. ##OTWViewUp 0 -1 -3 0 0x0 -1
  152. ##OTWViewUpRight 0 -1 -3 1 0x0 -1
  153. ##OTWViewRight 0 -1 -3 2 0x0 -1
  154. ##OTWViewDownRight 0 -1 -3 3 0x0 -1
  155. ##OTWViewDown 0 -1 -3 4 0x0 -1
  156. ##OTWViewDownLeft 0 -1 -3 5 0x0 -1
  157. ##OTWViewLeft 0 -1 -3 6 0x0 -1
  158. ##OTWViewUpLeft 0 -1 -3 7 0x0 -1
  159.  
  160. # (shifted)
  161. AFElevatorTrimUp 2 -1 -3 0 0x0 -1
  162. SimDoNothing 2 -1 -3 1 0x0 -1
  163. AFAileronTrimRight 2 -1 -3 2 0x0 -1
  164. SimDoNothing 2 -1 -3 3 0x0 -1
  165. AFElevatorTrimDown 2 -1 -3 4 0x0 -1
  166. SimDoNothing 2 -1 -3 5 0x0 -1
  167. AFAileronTrimLeft 2 -1 -3 6 0x0 -1
  168. SimDoNothing 2 -1 -3 7 0x0 -1
  169.  
  170. ##----------------------------------------
  171. ## SEM (side-extension module)
  172. ##
  173. ## 40-41 => A1-2
  174. ## 42-44 => B1-3
  175. ## 45-50 => K1-2
  176. ## 51 => R1
  177. ## 52-55 => M1-4
  178. ## 56 => C1
  179.  
  180. #
  181. # A1-2
  182. SimAPOverride 40 -1 -2 0 0x0 0
  183. SimTrimAPDisc 41 -2 -2 0 0x0 0
  184. SimTrimAPDisc 41 -2 -2 0x42 0x0 0
  185. #
  186. # A1-2 (shifted)
  187. SimLaunchBarToggle 2040 -1 -2 0 0x0 0
  188. SimHookToggle 2041 -1 -2 0 0x0 0
  189.  
  190. #
  191. # B1-3
  192. SimTrimRollLeft 42 -1 -2 0 0x0 0
  193. AFResetTrim 43 -1 -2 0 0x0 0
  194. SimTrimRollRight 44 -1 -2 0 0x0 0
  195. #
  196. # B1-3 (shifted)
  197. SimTrimYawLeft 2042 -1 -2 0 0x0 0
  198. SimF18ThrottleATC 2043 -1 -2 0 0x0 0
  199. SimTrimYawRight 2044 -1 -2 0 0x0 0
  200.  
  201. #
  202. # K1
  203. SimTransmitCom1 45 -1 -2 0 0x0 0
  204. SimRadarCursorZero 46 -1 -2 0 0x0 0
  205. SimTransmitCom2 47 -1 -2 0 0x0 0
  206. #
  207. # K1 (shifted)
  208. SimSelectMRMOverride 2045 -1 -2 0 0x0 0
  209. SimDeselectOverride 2046 -1 -2 0 0x0 0
  210. SimSelectSRMOverride 2047 -1 -2 0 0x0 0
  211.  
  212. #
  213. # K2
  214. AFBrakesIn 48 -1 -2 0 0x0 0
  215. AFBrakesToggle 49 -1 -2 0 0x0 0
  216. AFBrakesOut 50 -1 -2 0 0x0 0
  217. #
  218. # K2 (shifted)
  219. AFGearUp 2048 -1 -2 0 0x0 0
  220. SimHookToggle 2049 -1 -2 0 0x0 0 ##dupe
  221. AFGearDown 2050 -1 -2 0 0x0 0
  222.  
  223. #
  224. # R1
  225. SimEmergencyJettison 51 -1 -2 0 0x0 0
  226. #
  227. # R1 (shifted)
  228. SimEject 2051 -1 -2 0 0x0 0
  229.  
  230. #
  231. # M1-4
  232. SimEWSProgOne 52 -1 -2 0 0x0 0
  233. SimEWSProgTwo 53 -1 -2 0 0x0 0
  234. SimEWSProgThree 54 -1 -2 0 0x0 0
  235. SimEWSProgFour 55 -1 -2 0 0x0 0
  236. #
  237. # M1-4 (shifted)
  238. SimEWSProgOne 2052 -1 -2 0 0x0 0
  239. SimEWSProgTwo 2053 -1 -2 0 0x0 0
  240. SimEWSProgThree 2054 -1 -2 0 0x0 0
  241. SimEWSProgFour 2055 -1 -2 0 0x0 0
  242.  
  243. #
  244. # C1
  245. SimVisorToggle 56 -1 -2 0 0x0 0
  246. #
  247. # C1 (shifted)
  248. ToggleNVGMode 2056 -1 -2 0 0x0 0
  249.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement