update joystick driver to API 0.5 and do some cleanup

This commit is contained in:
marschap
2006-04-09 11:05:52 +00:00
parent 2dcde3e4f2
commit c130d15677
4 changed files with 170 additions and 104 deletions
+45 -10
View File
@@ -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>