zkv1000 / Systems / multikey.xml /
Newer Older
26 lines | 0.697kb
commit initial
Sébastien MARQUE authored on 2017-03-07
1
<?xml version="1.0"?>
2

            
3
<PropertyList>
4
  <multikey>
5
    <key n="122">
6
      <name>z</name>
7
      <desc>ZKV1000 commands</desc>
8
      <key n="111">
9
        <name>o</name>
10
        <desc>Power ON device</desc>
11
        <binding>
12
          <command>nasal</command>
13
          <script>zkv1000.powerOn(0); settimer(func { zkv1000.powerOn(1) }, 1);</script>
14
        </binding>
15
      </key>
16
      <key n="108">
17
        <name>l</name>
18
        <desc>Switch ON device lights</desc>
19
        <binding>
20
          <command>nasal</command>
21
          <script>if (zkv1000.device[0] != nil and zkv1000.device[1] != nil) zkv1000.LIGHT();</script>
22
        </binding>
23
      </key>
24
    </key>
25
  </multikey>
26
</PropertyList>