Advertisement
hamzaalloush

joystick.diff

Mar 24th, 2015
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 2.22 KB | None | 0 0
  1. diff --git a/Input/Joysticks/ThrustMaster/T-Flight-Stick-X.xml b/Input/Joysticks/ThrustMaster/T-Flight-Stick-X.xml
  2. index 018d5f3..29eea68 100644
  3. --- a/Input/Joysticks/ThrustMaster/T-Flight-Stick-X.xml
  4. +++ b/Input/Joysticks/ThrustMaster/T-Flight-Stick-X.xml
  5. @@ -7,6 +7,7 @@ by Joffrey Paris
  6.  
  7.  <PropertyList>
  8.   <name type="string">T.Flight Stick X</name>
  9. + <name type="string">Thrustmaster T.Flight Stick X</name>
  10.  
  11.   <axis n="0">
  12.    <desc>Aileron</desc>
  13. @@ -27,7 +28,11 @@ by Joffrey Paris
  14.    </binding>
  15.   </axis>
  16.  
  17. - <axis n="2">
  18. + <axis>
  19. +  <number>
  20. +   <windows>2</windows>
  21. +   <unix>3</unix>
  22. +  </number>
  23.    <desc>Increase/Reduce Throttle</desc>
  24.    <binding>
  25.     <command>nasal</command>
  26. @@ -35,7 +40,11 @@ by Joffrey Paris
  27.    </binding>
  28.   </axis>
  29.  
  30. - <axis n="3">
  31. + <axis>
  32. +  <number>
  33. +   <windows>3</windows>
  34. +   <unix>2</unix>
  35. +  </number>
  36.    <desc>Rudder Left/Right</desc>
  37.    <binding>
  38.     <command>property-scale</command>
  39. @@ -44,7 +53,11 @@ by Joffrey Paris
  40.    </binding>
  41.   </axis>
  42.  
  43. - <axis n="6">
  44. + <axis>
  45. +  <number>
  46. +   <windows>6</windows>
  47. +   <unix>4</unix>
  48. +  </number>
  49.    <desc>View Direction</desc>
  50.    <low>
  51.     <repeatable>true</repeatable>
  52. @@ -64,7 +77,10 @@ by Joffrey Paris
  53.    </high>
  54.   </axis>
  55.  
  56. - <axis n="7">
  57. + <axis>
  58. +  <number>
  59. +   <windows>7</windows>
  60. +  </number>
  61.    <desc>View Elevation</desc>
  62.    <low>
  63.     <repeatable>true</repeatable>
  64. @@ -84,6 +100,29 @@ by Joffrey Paris
  65.    </high>
  66.   </axis>
  67.  
  68. + <axis>
  69. +  <number>
  70. +   <unix>5</unix>
  71. +  </number>
  72. +  <desc>View Elevation</desc>
  73. +  <low>
  74. +   <repeatable>true</repeatable>
  75. +   <binding>
  76. +    <command>property-adjust</command>
  77. +    <property>/sim/current-view/goal-pitch-offset-deg</property>
  78. +    <step type="double">2.0</step>
  79. +   </binding>
  80. +  </low>
  81. +  <high>
  82. +   <repeatable>true</repeatable>
  83. +   <binding>
  84. +    <command>property-adjust</command>
  85. +    <property>/sim/current-view/goal-pitch-offset-deg</property>
  86. +    <step type="double">-2.0</step>
  87. +   </binding>
  88. +  </high>
  89. + </axis>
  90. +
  91.   <button n="0">
  92.    <desc>Brakes</desc>
  93.    <binding>
  94. @@ -165,4 +204,4 @@ by Joffrey Paris
  95.  
  96.  </PropertyList>
  97.  
  98. -<!-- end of T.Flight Stick X.xml -->
  99. \ No newline at end of file
  100. +<!-- end of T.Flight Stick X.xml -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement