Debian Codegraph @

Input/Joysticks/Logitech/dual-action.xml

raw symbols SCIP
1 <?xml version="1.0" ?>
2
3 <!--
4 $Id$
5 -->
6
7 <PropertyList>
8
9 <name>Logitech Logitech Dual Action</name>
10
11 <axis n="2">
12 <desc>Aileron</desc>
13 <binding>
14 <command>property-scale</command>
15 <property>/controls/flight/aileron</property>
16 <squared type="bool">true</squared>
17 </binding>
18 </axis>
19
20 <axis n="3">
21 <desc>Elevator</desc>
22 <binding>
23 <command>property-scale</command>
24 <property>/controls/flight/elevator</property>
25 <factor type="double">-1.0</factor>
26 <squared type="bool">true</squared>
27 </binding>
28 </axis>
29
30 <axis>
31 <desc>Rudder</desc>
32 <number>
33 <unix>0</unix>
34 <windows>3</windows>
35 </number>
36 <binding>
37 <command>property-scale</command>
38 <property>/controls/flight/rudder</property>
39 <factor type="double">1.0</factor>
40 </binding>
41 </axis>
42
43 <axis>
44 <desc>View Direction</desc>
45 <number>
46 <unix>4</unix>
47 <windows>6</windows>
48 </number>
49 <low>
50 <repeatable>true</repeatable>
51 <binding>
52 <command>property-adjust</command>
53 <property>/sim/current-view/goal-heading-offset-deg</property>
54 <step type="double">5.0</step>
55 </binding>
56 </low>
57 <high>
58 <repeatable>true</repeatable>
59 <binding>
60 <command>property-adjust</command>
61 <property>/sim/current-view/goal-heading-offset-deg</property>
62 <step type="double">-5.0</step>
63 </binding>
64 </high>
65 </axis>
66
67 <axis>
68 <desc>View Elevation</desc>
69 <number>
70 <unix>5</unix>
71 <windows>7</windows>
72 </number>
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">5.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">-5.0</step>
87 </binding>
88 </high>
89 </axis>
90
91 <button n="5">
92 <desc>Brakes</desc>
93 <binding>
94 <command>nasal</command>
95 <script>controls.applyBrakes(1)</script>
96 </binding>
97 <mod-up>
98 <binding>
99 <command>nasal</command>
100 <script>controls.applyBrakes(0)</script>
101 </binding>
102 </mod-up>
103 </button>
104
105 <button n="3">
106 <desc>Elevator trim up</desc>
107 <repeatable type="bool">true</repeatable>
108 <binding>
109 <command>property-adjust</command>
110 <property>/controls/flight/elevator-trim</property>
111 <step type="double">0.001</step>
112 </binding>
113 </button>
114
115 <button n="1">
116 <desc>Elevator trim down</desc>
117 <repeatable type="bool">true</repeatable>
118 <binding>
119 <command>property-adjust</command>
120 <property>/controls/flight/elevator-trim</property>
121 <step type="double">-0.001</step>
122 </binding>
123 </button>
124
125 <button n="4">
126 <desc>Flaps down</desc>
127 <binding>
128 <command>nasal</command>
129 <script>controls.flapsDown(1)</script>
130 </binding>
131 <mod-up>
132 <binding>
133 <command>nasal</command>
134 <script>controls.flapsDown(0)</script>
135 </binding>
136 </mod-up>
137 </button>
138
139 <button n="6">
140 <desc>Flaps up</desc>
141 <repeatable>false</repeatable>
142 <binding>
143 <command>nasal</command>
144 <script>controls.flapsDown(-1)</script>
145 </binding>
146 <mod-up>
147 <binding>
148 <command>nasal</command>
149 <script>controls.flapsDown(0)</script>
150 </binding>
151 </mod-up>
152 </button>
153
154 <button n="2">
155 <desc>Aileron trim right</desc>
156 <repeatable type="bool">true</repeatable>
157 <binding>
158 <command>nasal</command>
159 <script>controls.aileronTrim(1)</script>
160 </binding>
161 </button>
162
163 <button n="0">
164 <desc>Aileron trim left</desc>
165 <repeatable type="bool">true</repeatable>
166 <binding>
167 <command>nasal</command>
168 <script>controls.aileronTrim(-1)</script>
169 </binding>
170 </button>
171
172 <button n="7">
173 <desc>Reset View</desc>
174 <binding>
175 <command>nasal</command>
176 <script>view.resetView()</script>
177 </binding>
178 </button>
179
180 </PropertyList>