Debian Codegraph @

Input/Joysticks/SimuJabs/Single737Yoke.xml

raw symbols SCIP
1 <?xml version="1.0" ?>
2
3 <PropertyList>
4
5 <name type="string">Leo Bodnar BU0836A Interface</name>
6
7 <!-- Joystick Configuration Template -->
8
9 <axis n="0">
10 <desc>Aileron</desc>
11 <direction>right</direction>
12 <binding>
13 <command>property-scale</command>
14 <property>/controls/flight/aileron</property>
15 <offset type="double">0.0</offset>
16 <factor type="double">2.0</factor>
17 <power type="int">1</power>
18 </binding>
19 </axis>
20
21 <axis n="1">
22 <desc>Elevator</desc>
23 <direction>down/forward</direction>
24 <binding>
25 <command>property-scale</command>
26 <property>/controls/flight/elevator</property>
27 <factor type="double">-1.4</factor>
28 <power type="int">1</power>
29 </binding>
30 </axis>
31
32
33 <button n="0">
34 <desc>Elevator Trim Forward</desc>
35 <repeatable>true</repeatable>
36 <binding>
37 <command>nasal</command>
38 <script>print('yoke side button');</script>
39 </binding>
40 </button>
41
42 <button n="1">
43 <desc>PTT</desc>
44 <repeatable>false</repeatable>
45 <binding>
46 <command>nasal</command>
47 <script>print('implement PTT');</script>
48 </binding>
49 </button>
50
51 <button n="2">
52 <desc>Elevator Trim Forward</desc>
53 <repeatable>true</repeatable>
54 <binding>
55 <command>nasal</command>
56 <script>controls.elevatorTrim(0.75)</script>
57 </binding>
58 </button>
59
60 <button n="3">
61 <desc>Elevator Trim Backward</desc>
62 <repeatable>true</repeatable>
63 <binding>
64 <command>nasal</command>
65 <script>controls.elevatorTrim(-0.75)</script>
66 </binding>
67 </button>
68
69
70
71 </PropertyList>
72
73 <!-- end of joystick.xml -->