2024-04-22 14:58:56 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<PropertyList>
|
|
|
|
<name type="string">FLC Meow Pedestal box</name>
|
|
|
|
<debug-events type="bool">true</debug-events>
|
|
|
|
<nasal>
|
|
|
|
<open>
|
|
|
|
<![CDATA[
|
|
|
|
setprop("/FLC/Pedestal/backlight", 0);
|
2024-11-06 21:40:54 +00:00
|
|
|
setprop("/FLC/Pedestal/rudder-trim-display-brightness", 0);
|
|
|
|
setprop("/FLC/Pedestal/generic", 0);
|
|
|
|
setprop("/FLC/Pedestal/leds-ecam", 0);
|
2024-06-06 20:35:50 +00:00
|
|
|
setprop("/FLC/Pedestal/leds", 0);
|
|
|
|
var updateBacklight = func(){
|
2024-04-22 14:58:56 +00:00
|
|
|
setprop('/FLC/Pedestal/backlight', getprop('/controls/lighting/main-panel-norm') * 48000);
|
|
|
|
}
|
2024-11-06 21:40:54 +00:00
|
|
|
var updateDisplayBacklight = func(){
|
|
|
|
setprop('/FLC/Pedestal/rudder-trim-display-brightness', getprop('/controls/lighting/main-panel-norm-digital') * 48000);
|
|
|
|
}
|
2024-06-06 20:35:50 +00:00
|
|
|
var updateLeds = func(){
|
|
|
|
}
|
|
|
|
var lis1 = setlistener('/controls/lighting/main-panel-norm', updateBacklight);
|
2024-11-06 21:40:54 +00:00
|
|
|
var lis2 = setlistener('/controls/lighting/main-panel-norm-digital', updateDisplayBacklight);
|
2024-04-22 14:58:56 +00:00
|
|
|
]]>
|
|
|
|
</open>
|
|
|
|
</nasal>
|
2024-11-06 21:40:54 +00:00
|
|
|
<!-- Outputs -->
|
2024-04-22 14:58:56 +00:00
|
|
|
<event>
|
2024-11-06 21:40:54 +00:00
|
|
|
<name>unknown-0</name>
|
2024-04-22 14:58:56 +00:00
|
|
|
<setting>
|
|
|
|
<property>/FLC/Pedestal/backlight</property>
|
|
|
|
</setting>
|
|
|
|
</event>
|
|
|
|
<event>
|
2024-11-06 21:40:54 +00:00
|
|
|
<name>unknown-1</name>
|
|
|
|
<setting>
|
|
|
|
<property>/FLC/Pedestal/rudder-trim-display-brightness</property>
|
|
|
|
</setting>
|
|
|
|
</event>
|
|
|
|
<event>
|
|
|
|
<name>unknown-2</name>
|
2024-04-22 14:58:56 +00:00
|
|
|
<setting>
|
2024-06-06 20:35:50 +00:00
|
|
|
<property>/FLC/Pedestal/generic</property>
|
|
|
|
</setting>
|
|
|
|
</event>
|
|
|
|
<event>
|
2024-11-06 21:40:54 +00:00
|
|
|
<name>unknown-3</name>
|
|
|
|
<setting>
|
|
|
|
<property>/FLC/Pedestal/leds-ecam</property>
|
|
|
|
</setting>
|
|
|
|
</event>
|
|
|
|
<event>
|
|
|
|
<name>unknown-4</name>
|
2024-06-06 20:35:50 +00:00
|
|
|
<setting>
|
|
|
|
<property>/FLC/Pedestal/leds</property>
|
2024-04-22 14:58:56 +00:00
|
|
|
</setting>
|
|
|
|
</event>
|
2024-11-06 21:40:54 +00:00
|
|
|
<!-- Axis -->
|
|
|
|
<event>
|
|
|
|
<name>abs-z-translate-4</name>
|
|
|
|
<desc type="string">FloodTL Pedestal</desc>
|
|
|
|
<binding>
|
|
|
|
<command type="string">property-scale</command>
|
|
|
|
<property type="string">/controls/lighting/ped-flood-knb</property>
|
|
|
|
<factor type="double">0.000244140625</factor>
|
|
|
|
<offset type="double">0</offset>
|
|
|
|
<power type="double">1</power>
|
|
|
|
</binding>
|
|
|
|
</event>
|
|
|
|
<event>
|
|
|
|
<name>abs-z-translate-7</name>
|
|
|
|
<desc type="string">FloodTL Main Panel</desc>
|
|
|
|
<binding>
|
|
|
|
<command type="string">property-scale</command>
|
|
|
|
<property type="string">/controls/lighting/main-flood-knb</property>
|
|
|
|
<factor type="double">0.000244140625</factor>
|
|
|
|
<offset type="double">0</offset>
|
|
|
|
<power type="double">1</power>
|
|
|
|
</binding>
|
|
|
|
</event>
|
|
|
|
<event>
|
|
|
|
<name>abs-z-translate-8</name>
|
|
|
|
<desc type="string">IntegLT</desc>
|
|
|
|
<binding>
|
|
|
|
<command type="string">property-scale</command>
|
|
|
|
<property type="string">/controls/lighting/main-panel-knb</property>
|
|
|
|
<factor type="double">0.000244140625</factor>
|
|
|
|
<offset type="double">0</offset>
|
|
|
|
<power type="double">1</power>
|
|
|
|
</binding>
|
|
|
|
</event>
|
|
|
|
<!-- Buttons -->
|
|
|
|
<event>
|
|
|
|
<name>button-4</name>
|
|
|
|
<desc type="string">Switching ATT Capt</desc>
|
|
|
|
<repeatable type="string">false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/controls/navigation/switching/att-hdg</property>
|
|
|
|
<value>-1</value>
|
|
|
|
</binding>
|
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/controls/navigation/switching/att-hdg</property>
|
|
|
|
<value>0</value>
|
|
|
|
</binding>
|
|
|
|
</mod-up>
|
|
|
|
</event>
|
|
|
|
<event>
|
|
|
|
<name>button-5</name>
|
|
|
|
<desc type="string">Switching AIR Capt</desc>
|
|
|
|
<repeatable type="string">false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/controls/navigation/switching/air-data</property>
|
|
|
|
<value>-1</value>
|
|
|
|
</binding>
|
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/controls/navigation/switching/air-data</property>
|
|
|
|
<value>0</value>
|
|
|
|
</binding>
|
|
|
|
</mod-up>
|
|
|
|
</event>
|
|
|
|
<event>
|
|
|
|
<name>button-6</name>
|
|
|
|
<desc type="string">Switching ATT FO</desc>
|
|
|
|
<repeatable type="string">false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/controls/navigation/switching/att-hdg</property>
|
|
|
|
<value>1</value>
|
|
|
|
</binding>
|
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/controls/navigation/switching/att-hdg</property>
|
|
|
|
<value>0</value>
|
|
|
|
</binding>
|
|
|
|
</mod-up>
|
|
|
|
</event>
|
|
|
|
<event>
|
|
|
|
<name>button-9</name>
|
|
|
|
<desc type="string">Door Unlock</desc>
|
|
|
|
<repeatable type="string">false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/controls/doors/doorc-switch</property>
|
|
|
|
<value>-1</value>
|
|
|
|
</binding>
|
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/controls/doors/doorc-switch</property>
|
|
|
|
<value>0</value>
|
|
|
|
</binding>
|
|
|
|
</mod-up>
|
|
|
|
</event>
|
|
|
|
<event>
|
|
|
|
<name>button-10</name>
|
|
|
|
<desc type="string">Door Lock</desc>
|
|
|
|
<repeatable type="string">false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/controls/doors/doorc-switch</property>
|
|
|
|
<value>1</value>
|
|
|
|
</binding>
|
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/controls/doors/doorc-switch</property>
|
|
|
|
<value>0</value>
|
|
|
|
</binding>
|
|
|
|
</mod-up>
|
|
|
|
</event>
|
|
|
|
<event>
|
|
|
|
<name>button-13</name>
|
|
|
|
<desc type="string">Switching AIR FO</desc>
|
|
|
|
<repeatable type="string">false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/controls/navigation/switching/air-data</property>
|
|
|
|
<value>-1</value>
|
|
|
|
</binding>
|
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/controls/navigation/switching/air-data</property>
|
|
|
|
<value>0</value>
|
|
|
|
</binding>
|
|
|
|
</mod-up>
|
|
|
|
</event>
|
|
|
|
<event>
|
|
|
|
<name>button-14</name>
|
|
|
|
<desc type="string">Switching AIR FO</desc>
|
|
|
|
<repeatable type="string">false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/controls/navigation/switching/air-data</property>
|
|
|
|
<value>1</value>
|
|
|
|
</binding>
|
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/controls/navigation/switching/air-data</property>
|
|
|
|
<value>0</value>
|
|
|
|
</binding>
|
|
|
|
</mod-up>
|
|
|
|
</event>
|
|
|
|
<event>
|
|
|
|
<name>button-15</name>
|
|
|
|
<desc type="string">ENG Mode Crank</desc>
|
|
|
|
<repeatable type="string">false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/controls/ignition/start-sw</property>
|
|
|
|
<value>0</value>
|
|
|
|
</binding>
|
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/controls/ignition/start-sw</property>
|
|
|
|
<value>1</value>
|
|
|
|
</binding>
|
|
|
|
</mod-up>
|
|
|
|
</event>
|
|
|
|
<event>
|
|
|
|
<name>button-16</name>
|
|
|
|
<desc type="string">ENG Mode Start</desc>
|
|
|
|
<repeatable type="string">false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/controls/ignition/start-sw</property>
|
|
|
|
<value>2</value>
|
|
|
|
</binding>
|
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/controls/ignition/start-sw</property>
|
|
|
|
<value>1</value>
|
|
|
|
</binding>
|
|
|
|
</mod-up>
|
|
|
|
</event>
|
|
|
|
<event>
|
|
|
|
<name>button-28</name>
|
|
|
|
<desc type="string">ENG Master 1</desc>
|
|
|
|
<repeatable type="string">false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/controls/engines/engine[0]/cutoff-switch</property>
|
|
|
|
<value>0</value>
|
|
|
|
</binding>
|
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/controls/engines/engine[0]/cutoff-switch</property>
|
|
|
|
<value>1</value>
|
|
|
|
</binding>
|
|
|
|
</mod-up>
|
|
|
|
</event>
|
|
|
|
<event>
|
|
|
|
<name>button-29</name>
|
|
|
|
<desc type="string">ENG Master 2</desc>
|
|
|
|
<repeatable type="string">false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/controls/engines/engine[1]/cutoff-switch</property>
|
|
|
|
<value>0</value>
|
|
|
|
</binding>
|
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/controls/engines/engine[1]/cutoff-switch</property>
|
|
|
|
<value>1</value>
|
|
|
|
</binding>
|
|
|
|
</mod-up>
|
|
|
|
</event>
|
2024-04-22 14:58:56 +00:00
|
|
|
</PropertyList>
|