| 1 | <PropertyList> |
| 2 | |
| 3 | <name>GoFlight GoFlight GF-T8 control module</name> |
| 4 | <debug-events type="bool">false</debug-events> |
| 5 | |
| 6 | <nasal> |
| 7 | <open> |
| 8 | <![CDATA[ |
| 9 | |
| 10 | ]]> |
| 11 | </open> |
| 12 | </nasal> |
| 13 | |
| 14 | <event> |
| 15 | <name>led-misc-1</name> |
| 16 | <setting> |
| 17 | <value>1</value> |
| 18 | <condition> |
| 19 | <equals> |
| 20 | <property>/input/goflight/mfr/active</property> |
| 21 | <value>0</value> |
| 22 | </equals> |
| 23 | </condition> |
| 24 | </setting> |
| 25 | <setting> |
| 26 | <value>0</value> |
| 27 | <condition> |
| 28 | <not-equals> |
| 29 | <property>/input/goflight/mfr/active</property> |
| 30 | <value>0</value> |
| 31 | </not-equals> |
| 32 | </condition> |
| 33 | </setting> |
| 34 | </event> |
| 35 | |
| 36 | <event> |
| 37 | <name>led-misc-2</name> |
| 38 | <setting> |
| 39 | <value>1</value> |
| 40 | <condition> |
| 41 | <equals> |
| 42 | <property>/input/goflight/mfr/active</property> |
| 43 | <value>1</value> |
| 44 | </equals> |
| 45 | </condition> |
| 46 | </setting> |
| 47 | <setting> |
| 48 | <value>0</value> |
| 49 | <condition> <command>property-swap</command> |
| 50 | <property>/input/goflight/mfr/standby-mhz</property> |
| 51 | <property>/input/goflight/mfr/selected-mhz</property> |
| 52 | <not-equals> |
| 53 | <property>/input/goflight/mfr/active</property> |
| 54 | <value>1</value> |
| 55 | </not-equals> |
| 56 | </condition> |
| 57 | </setting> |
| 58 | </event> |
| 59 | |
| 60 | <event> |
| 61 | <name>led-misc-6</name> |
| 62 | <setting> |
| 63 | <property>/controls/flight/autospeedbrake</property> |
| 64 | </setting> |
| 65 | </event> |
| 66 | |
| 67 | <event> |
| 68 | <name>led-misc-7</name> |
| 69 | <setting> |
| 70 | <property>/controls/gear/brake-parking</property> |
| 71 | </setting> |
| 72 | </event> |
| 73 | |
| 74 | <event> |
| 75 | <name>display-brightness</name> |
| 76 | <setting> |
| 77 | <property>/input/goflight/tf8/brightness</property> |
| 78 | </setting> |
| 79 | </event> |
| 80 | |
| 81 | <event> |
| 82 | <desc>Transfer Button</desc> |
| 83 | <name>button-1</name> |
| 84 | <binding> |
| 85 | |
| 86 | </binding> |
| 87 | </event> |
| 88 | |
| 89 | <event> |
| 90 | <desc>Nav 1 Button</desc> |
| 91 | <name>button-2</name> |
| 92 | <binding> |
| 93 | <command>nasal</command> |
| 94 | <script>print('TF8 button2')</script> |
| 95 | </binding> |
| 96 | <mod-up> |
| 97 | <binding> |
| 98 | <command>nasal</command> |
| 99 | <script>print('TF8 button 2 down')</script> |
| 100 | </binding> |
| 101 | </mod-up> |
| 102 | </event> |
| 103 | |
| 104 | <event> |
| 105 | <desc>Button 3</desc> |
| 106 | <name>button-3</name> |
| 107 | <binding> |
| 108 | <command>nasal</command> |
| 109 | <script>print('TF8 button 3')</script> |
| 110 | </binding> |
| 111 | </event> |
| 112 | |
| 113 | <event> |
| 114 | <desc>Button 4</desc> |
| 115 | <name>button-4</name> |
| 116 | <binding> |
| 117 | <command>nasal</command> |
| 118 | <script>print('TF8 button 4 up')</script> |
| 119 | </binding> |
| 120 | <mod-up> |
| 121 | <binding> |
| 122 | <command>nasal</command> |
| 123 | <script>print('TF8 button 4 down')</script> |
| 124 | </binding> |
| 125 | </mod-up> |
| 126 | </event> |
| 127 | |
| 128 | <event> |
| 129 | <desc>Parking brake toggle</desc> |
| 130 | <name>button-8</name> |
| 131 | <binding> |
| 132 | <command>property-assign</command> |
| 133 | <property>/controls/gear/brake-parking</property> |
| 134 | <value>1</value> |
| 135 | </binding> |
| 136 | <mod-up> |
| 137 | <binding> |
| 138 | <command>property-assign</command> |
| 139 | <property>/controls/gear/brake-parking</property> |
| 140 | <value>0</value> |
| 141 | </binding> |
| 142 | </mod-up> |
| 143 | </event> |
| 144 | </PropertyList> |