A320-homecockpit/Pedestal/flightgear/Event/FLC-Meow-Pedestal-box.xml
fly 110903bede Added flightgear configuration files
Signed-off-by: fly <merspieler@alwaysdata.com>
2024-04-22 17:04:44 +02:00

29 lines
681 B
XML

<?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);
var refreshPanels = func(){
setprop('/FLC/Pedestal/backlight', getprop('/controls/lighting/main-panel-norm') * 48000);
}
var lis1 = setlistener('/controls/lighting/main-panel-norm', refreshPanels);
]]>
</open>
</nasal>
<event>
<name>vendor-0</name>
<setting>
<property>/FLC/Pedestal/backlight</property>
</setting>
</event>
<event>
<name>vendor-1</name>
<setting>
<property>/test</property>
</setting>
</event>
</PropertyList>