Patch to hal-spec : 3/6-button

Richard Hughes ee21rh at surrey.ac.uk
Tue Jan 11 10:39:22 PST 2005


    <sect2 id="device-properties-system-button">
      <title><literal>system.button</literal> namespace</title>
      <para>

	Device objects with the capability <literal>system.button</literal> 
        represent all the devices capable of providing a state to the system

      </para>
      <informaltable>
        <tgroup cols="2">
          <thead>
            <row>
              <entry>Key (type)</entry>
              <entry>Values</entry>
              <entry>Mandatory</entry>
              <entry>Description</entry>
            </row>
          </thead>
          <tbody>
            <row>
              <entry><literal>system.button.type</literal> (string)</entry>
              <entry></entry>
              <entry>Yes</entry>
              <entry>The type of button</entry>
            </row>
            <row>
              <entry></entry>
              <entry>lid_switch</entry>
              <entry></entry>
              <entry>
                The switch on a laptop that senses whether the lid is 
                open or closed
              </entry>
            </row>
            <row>
              <entry></entry>
              <entry>power</entry>
              <entry></entry>
              <entry>The main power button on the computer.</entry>
            </row>
            <row>
              <entry></entry>
              <entry>sleep</entry>
              <entry></entry>
              <entry>
                The sleep button on a computer capable of putting the computer 
                into a suspend state
              </entry>
            </row>
            <row>
              <entry><literal>system.button.has_state</literal> (bool)</entry>
              <entry></entry>
              <entry>Yes</entry>
              <entry>
                True if the button maintains state, e.g. can toggled 
                on/off
              </entry>
            </row>
            <row>
              <entry><literal>system.button.state.value</literal> (bool)</entry>
              <entry></entry>
              <entry>
                Only when <literal>system.button.has_state</literal> is 
                TRUE
              </entry>
              <entry>State of the button, TRUE if it is pressed down</entry>
            </row>
          </tbody>
        </tgroup>
      </informaltable>
    </sect2>


_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list