zkv1000 / Systems / multikey.xml /
Sébastien MARQUE commit initial
56c0030 7 years ago
1 contributor
26 lines | 0.697kb
<?xml version="1.0"?>

<PropertyList>
  <multikey>
    <key n="122">
      <name>z</name>
      <desc>ZKV1000 commands</desc>
      <key n="111">
        <name>o</name>
        <desc>Power ON device</desc>
        <binding>
          <command>nasal</command>
          <script>zkv1000.powerOn(0); settimer(func { zkv1000.powerOn(1) }, 1);</script>
        </binding>
      </key>
      <key n="108">
        <name>l</name>
        <desc>Switch ON device lights</desc>
        <binding>
          <command>nasal</command>
          <script>if (zkv1000.device[0] != nil and zkv1000.device[1] != nil) zkv1000.LIGHT();</script>
        </binding>
      </key>
    </key>
  </multikey>
</PropertyList>