1
0
Fork 0

KLN89: Add action for photocell.

Let the user virtually cover the light-sensitive photocell by holding
the left mouse button down over it.
This commit is contained in:
Dave Luff 2010-12-05 23:37:31 +00:00
parent cdf55c086a
commit 0b84436d73

View file

@ -235,6 +235,29 @@ properties' values.
</binding>
</action>
<action>
<name>Photocell Obscure</name>
<!--This action represents the user obscuring the light-sensitive photocell
in order to test the night-time brightness level of the display-->
<button>0</button>
<x>-408</x>
<y>64</y>
<w>40</w>
<h>40</h>
<binding>
<command>property-assign</command>
<property>/instrumentation/kln89/photocell-obscured</property>
<value >1</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/instrumentation/kln89/photocell-obscured</property>
<value>0</value>
</binding>
</mod-up>
</action>
</actions>
</PropertyList>