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-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-06-06 20:35:50 +00:00
|
|
|
var updateLeds = func(){
|
|
|
|
}
|
|
|
|
var lis1 = setlistener('/controls/lighting/main-panel-norm', updateBacklight);
|
2024-04-22 14:58:56 +00:00
|
|
|
]]>
|
|
|
|
</open>
|
|
|
|
</nasal>
|
|
|
|
<event>
|
|
|
|
<name>vendor-0</name>
|
|
|
|
<setting>
|
|
|
|
<property>/FLC/Pedestal/backlight</property>
|
|
|
|
</setting>
|
|
|
|
</event>
|
|
|
|
<event>
|
|
|
|
<name>vendor-1</name>
|
|
|
|
<setting>
|
2024-06-06 20:35:50 +00:00
|
|
|
<property>/FLC/Pedestal/generic</property>
|
|
|
|
</setting>
|
|
|
|
</event>
|
|
|
|
<event>
|
|
|
|
<name>vendor-2</name>
|
|
|
|
<setting>
|
|
|
|
<property>/FLC/Pedestal/leds</property>
|
2024-04-22 14:58:56 +00:00
|
|
|
</setting>
|
|
|
|
</event>
|
|
|
|
</PropertyList>
|