Advertisement
Guest User

XBox Gamepad bindings

a guest
Sep 21st, 2023
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. ##==================================================================
  2. ## * DX Button and Hat Bindings for PC/XBox Controller (Gamepad)
  3. ##
  4. ## The button numbering requires following cfg:
  5. ## set g_nHotasPinkyShiftMagnitude 2000
  6. ##
  7. ## Recommended setup:
  8. ## - POV: use OpenTrack to map left-stick axes to TrackIR (pitch and yaw)
  9. ## -- and LStick-press to toggle pause-tracking
  10. ##
  11. ## Button Table:
  12. ## 0: A
  13. ## 1: B
  14. ## 2: X
  15. ## 3: Y
  16. ## 4: LBumper
  17. ## 5: RBumper
  18. ## 6: LMenu
  19. ## 7: RMenu
  20. ## 8: LStick
  21. ## 9: RStick
  22.  
  23. ## Primary buttons
  24. SimAltHotasAlpha 0 -1 -2 0 0x0 0
  25. SimAltHotasBravo 1 -1 -2 0 0x0 0
  26. SimAltHotasXray 2 -1 -2 0 0x0 0
  27. SimAltHotasYankey 3 -1 -2 0 0x0 0
  28.  
  29. SimCursorEnable 2000 -1 -2 0 0x0 0
  30. SimSlapSwitch 2001 -1 -2 0 0x0 0
  31. SimEmergencyJettison 2002 -1 -2 0 0x0 0
  32. SimEject 2003 -1 -2 0 0x0 0
  33.  
  34. ## Bumpers
  35. SimAltHotasTMSShift 4 -1 -2 0 0x0 0
  36. SimAltHotasDMSShift 5 -1 -2 0 0x0 0
  37.  
  38. AFThrottleDown 2004 -1 -2 0 0x0 0
  39. AFThrottleUp 2005 -1 -2 0 0x0 0
  40.  
  41. ## Menu buttons
  42. SimHotasShift 6 -1 -2 0 0x0 0
  43. SimHotasShift 2006 -1 -2 0 0x0 0
  44.  
  45. SimHotasShiftLock 7 -1 -2 0 0x0 0
  46. SimHotasShiftLock 2007 -1 -2 0 0x0 0
  47.  
  48. ## Stick press
  49. SimDoNothing 8 -1 -2 0 0x0 0
  50. SimDoNothing 2008 -1 -2 0 0x0 0
  51.  
  52. FOVToggle 9 -1 -2 0 0x0 0
  53. FOVDefault 2009 -1 -2 0 0x0 0
  54.  
  55. ## 8-way Hat
  56. SimAltHotasUp 0 -1 -3 0 0x0 -1
  57. SimAltHotasUpRight 0 -1 -3 1 0x0 -1
  58. SimAltHotasRight 0 -1 -3 2 0x0 -1
  59. SimAltHotasDownRight 0 -1 -3 3 0x0 -1
  60. SimAltHotasDown 0 -1 -3 4 0x0 -1
  61. SimAltHotasDownLeft 0 -1 -3 5 0x0 -1
  62. SimAltHotasLeft 0 -1 -3 6 0x0 -1
  63. SimAltHotasUpLeft 0 -1 -3 7 0x0 -1
  64.  
  65. AFElevatorTrimUp 2 -1 -3 0 0x0 -1
  66. SimDoNothing 2 -1 -3 1 0x0 -1
  67. AFAileronTrimRight 2 -1 -3 2 0x0 -1
  68. SimDoNothing 2 -1 -3 3 0x0 -1
  69. AFElevatorTrimDown 2 -1 -3 4 0x0 -1
  70. SimDoNothing 2 -1 -3 5 0x0 -1
  71. AFAileronTrimLeft 2 -1 -3 6 0x0 -1
  72. SimDoNothing 2 -1 -3 7 0x0 -1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement