update joystick driver to API 0.5 and do some cleanup
This commit is contained in:
@@ -25,22 +25,57 @@ This section covers the joystick input driver for LCDd.
|
||||
|
||||
<varlistentry>
|
||||
<term>
|
||||
<command>AxisMap=</command>
|
||||
<arg choice="plain"><replaceable>MAP-LIST</replaceable></arg>
|
||||
<command>Map_Axis<replaceable>NUM</replaceable>-=</command>
|
||||
<arg choice="plain"><replaceable>KEY</replaceable></arg>
|
||||
</term>
|
||||
<listitem><para>
|
||||
Modify the axis mapa [default: EFGHIJKLMNOPQRST]
|
||||
</para></listitem>
|
||||
<term>
|
||||
<command>Map_Axis<replaceable>NUM</replaceable>+=</command>
|
||||
<arg choice="plain"><replaceable>KEY</replaceable></arg>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Set the axis map.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<replaceable>NUM</replaceable> is an integer starting with <literal>1</literal>
|
||||
that represents each axis with the appendices <literal>+</literal> and
|
||||
<literal>-</literal> determining the direction.
|
||||
The exact numbering of the axes depends on the hardware used.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<replaceable>KEY</replaceable> can be one of the keys that LCDd recognizes
|
||||
(<literal>Left</literal>, <literal>Right</literal>, <literal>Up</literal>,
|
||||
<literal>Down</literal>, <literal>Enter</literal> or <literal>Escape</literal>)
|
||||
or any other string that a client can parse.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>
|
||||
<command>ButtonMap=</command>
|
||||
<arg choice="plain"><replaceable>MAP-LIST</replaceable></arg>
|
||||
<command>Map_Button<replaceable>NUM</replaceable>=</command>
|
||||
<arg choice="plain"><replaceable>KEY</replaceable></arg>
|
||||
</term>
|
||||
<listitem><para>
|
||||
Modify the button map [default: BDACEFGHIJKLMNOP]
|
||||
</para></listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Set the button map.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<replaceable>NUM</replaceable> is an integer starting with <literal>1</literal>
|
||||
that represents each button. The exact numbering of the buttons depends on the
|
||||
hardware used.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<replaceable>KEY</replaceable> can be one of the keys that LCDd recognizes
|
||||
(<literal>Left</literal>, <literal>Right</literal>, <literal>Up</literal>,
|
||||
<literal>Down</literal>, <literal>Enter</literal> or <literal>Escape</literal>)
|
||||
or any other string that a client can parse.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user