1
0
Fork 0
fgdata/Aircraft/c172p/Instruments/light/light_control.xml

84 lines
1.9 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<path>light_control.ac</path>
<!-- Panel/radio light control -->
<animation>
<type>pick</type>
<object-name>LightHotspotLeft</object-name>
<visible>true</visible>
<action>
<name>Decrease</name>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>controls/lighting/instruments-norm</property>
<step>-0.1</step>
<min>0</min>
<max>1.0</max>
<wrap>0</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>LightHotspotRight</object-name>
<visible>true</visible>
<action>
<name>Increase</name>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>controls/lighting/instruments-norm</property>
<step>0.1</step>
<min>0</min>
<max>1.0</max>
<wrap>0</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>LightHotspotLeft</object-name>
<object-name>LightHotspotRight</object-name>
<object-name>LightKnob</object-name>
<visible>true</visible>
<action>
<name>Decrease - scrollwheel</name>
<button>3</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>controls/lighting/instruments-norm</property>
<step>-0.1</step>
<min>0</min>
<max>1.0</max>
<wrap>0</wrap>
</binding>
</action>
<action>
<name>Increase - scrollwheel</name>
<button>4</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>controls/lighting/instruments-norm</property>
<step>0.1</step>
<min>0</min>
<max>1.0</max>
<wrap>0</wrap>
</binding>
</action>
</animation>
</PropertyList>