1
0
Fork 0

Make adf power on/off a seperate property.

This commit is contained in:
curt 2002-08-29 02:18:36 +00:00
parent 2a4d95ed15
commit a6eca0a3e9
2 changed files with 19 additions and 19 deletions

View file

@ -32,8 +32,8 @@ properties' values.
<params> <params>
<adf-freq-selected-prop>/radios/kr-87/outputs/selected-khz</adf-freq-selected-prop> <adf-freq-selected-prop>/radios/kr-87/outputs/selected-khz</adf-freq-selected-prop>
<adf-freq-standby-prop>/radios/kr-87/outputs/standby-khz</adf-freq-standby-prop> <adf-freq-standby-prop>/radios/kr-87/outputs/standby-khz</adf-freq-standby-prop>
<adf-morse-id-volume-prop>/radios/kr-87/inputs/on-off-volume</adf-morse-id-volume-prop> <adf-morse-id-volume-prop>/radios/kr-87/inputs/volume</adf-morse-id-volume-prop>
<adf-morse-ident-toggle-prop>/radios/kr-87/internal/ident</adf-morse-ident-toggle-prop> <adf-morse-ident-toggle-prop>/radios/kr-87/inputs/ident-btn</adf-morse-ident-toggle-prop>
</params> </params>
<layers> <layers>
@ -200,7 +200,7 @@ properties' values.
</transformation> </transformation>
<transformation> <transformation>
<type>rotation</type> <type>rotation</type>
<property>/radios/kr-87/inputs/on-off-volume</property> <property>/radios/kr-87/inputs/volume</property>
<min>0</min> <min>0</min>
<max>2</max> <max>2</max>
<scale>140</scale> <scale>140</scale>
@ -377,7 +377,7 @@ properties' values.
</action> </action>
<action> <action>
<name>ident volume on/off</name> <name>ident volume</name>
<button>0</button> <button>0</button>
<x>37</x> <x>37</x>
<y>-30</y> <y>-30</y>

View file

@ -111,10 +111,10 @@ properties' values.
<layer> <layer>
<name>Selected FRQ display</name> <name>Selected FRQ display</name>
<condition> <condition>
<greater-than> <equals>
<property>/radios/kr-87/inputs/on-off-volume</property> <property>/radios/kr-87/inputs/power-btn</property>
<value>0.0</value> <value>true</value>
</greater-than> </equals>
</condition> </condition>
<type>text</type> <type>text</type>
<font>led</font> <font>led</font>
@ -251,10 +251,10 @@ properties' values.
<layer> <layer>
<name>Flight Timer display</name> <name>Flight Timer display</name>
<condition> <condition>
<greater-than> <equals>
<property>/radios/kr-87/inputs/on-off-volume</property> <property>/radios/kr-87/inputs/power-btn</property>
<value>0.0</value> <value>true</value>
</greater-than> </equals>
<equals> <equals>
<property>/radios/kr-87/modes/stby</property> <property>/radios/kr-87/modes/stby</property>
<value>1</value> <value>1</value>
@ -293,10 +293,10 @@ properties' values.
<layer> <layer>
<name>Elapsed Timer display</name> <name>Elapsed Timer display</name>
<condition> <condition>
<greater-than> <equals>
<property>/radios/kr-87/inputs/on-off-volume</property> <property>/radios/kr-87/inputs/power-btn</property>
<value>0.0</value> <value>true</value>
</greater-than> </equals>
<equals> <equals>
<property>/radios/kr-87/modes/stby</property> <property>/radios/kr-87/modes/stby</property>
<value>1</value> <value>1</value>
@ -464,7 +464,7 @@ properties' values.
</transformation> </transformation>
<transformation> <transformation>
<type>rotation</type> <type>rotation</type>
<property>/radios/kr-87/inputs/on-off-volume</property> <property>/radios/kr-87/inputs/volume</property>
<min>0</min> <min>0</min>
<max>2</max> <max>2</max>
<scale>140</scale> <scale>140</scale>
@ -886,7 +886,7 @@ properties' values.
<h>16</h> <h>16</h>
<binding> <binding>
<command>property-adjust</command> <command>property-adjust</command>
<property>/radios/kr-87/inputs/on-off-volume</property> <property>/radios/kr-87/inputs/volume</property>
<step>0.5</step> <step>0.5</step>
<min>0</min> <min>0</min>
<max>2</max> <max>2</max>
@ -901,7 +901,7 @@ properties' values.
<h>8</h> <h>8</h>
<binding> <binding>
<command>property-adjust</command> <command>property-adjust</command>
<property>/radios/kr-87/inputs/on-off-volume</property> <property>/radios/kr-87/inputs/volume</property>
<step>-0.5</step> <step>-0.5</step>
<min>0</min> <min>0</min>
<max>2</max> <max>2</max>