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:
parent
cdf55c086a
commit
0b84436d73
1 changed files with 23 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue