New driver linux_input
This driver receives input from event devices of the linux input subsystem. Tested on Linux 3.16/i386. Signed-off-by: Harald Geyer <harald@ccbib.org>
This commit is contained in:
@@ -247,6 +247,9 @@ kernelconcepts.de 20x4 serial LCD displays
|
||||
.B lcterm
|
||||
serial LCD terminal from Helmut Neumark Elektronik (http://www.neumark.de)
|
||||
.TP
|
||||
.B linux_input
|
||||
Linux event devices (input)
|
||||
.TP
|
||||
.B lirc
|
||||
Infrared (input)
|
||||
.TP
|
||||
|
||||
@@ -30,6 +30,7 @@ well as the configuration of LCDd.
|
||||
&lb216;
|
||||
&lcdm001;
|
||||
&lcterm;
|
||||
&linux_input;
|
||||
&lirc;
|
||||
&lis;
|
||||
&MD8800;
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
<sect1 id="linux_input-howto">
|
||||
<title>The Linux Event Device Input Driver</title>
|
||||
|
||||
<para>
|
||||
This section covers the linux event device input driver for LCDd.
|
||||
</para>
|
||||
|
||||
<!-- ## Linux input driver ## -->
|
||||
<sect2 id="linux_input-config">
|
||||
<title>Configuration in LCDd.conf</title>
|
||||
|
||||
<sect3 id="linux_input-config-section">
|
||||
<title>[linux_input]</title>
|
||||
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<property>Device</property> =
|
||||
<parameter><replaceable>DEVICE</replaceable></parameter>
|
||||
</term>
|
||||
<listitem><para>
|
||||
Select the input device to use [default: <filename>/dev/input/event0</filename>]
|
||||
</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>
|
||||
<property>key</property> =
|
||||
<parameter><replaceable>KEYCODE</replaceable>,<replaceable>KEY</replaceable></parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Set an alternate key map, e.g. to use custom buttons instead of the
|
||||
standard codes for Escape, Enter, Left, Right, Up and Down. This entry
|
||||
typically repeaded for any non-standard key code.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<replaceable>KEYCODE</replaceable> is an integer like the ones defined in
|
||||
<filename>/usr/include/linux/input.h</filename>.
|
||||
</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>
|
||||
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
||||
@@ -37,6 +37,7 @@
|
||||
<!ENTITY lb216 SYSTEM "drivers/lb216.docbook">
|
||||
<!ENTITY lcdm001 SYSTEM "drivers/lcdm001.docbook">
|
||||
<!ENTITY lcterm SYSTEM "drivers/lcterm.docbook">
|
||||
<!ENTITY linux_input SYSTEM "drivers/linux_input.docbook">
|
||||
<!ENTITY lirc SYSTEM "drivers/lircin.docbook">
|
||||
<!ENTITY lis SYSTEM "drivers/lis.docbook">
|
||||
<!ENTITY MD8800 SYSTEM "drivers/MD8800.docbook">
|
||||
|
||||
Reference in New Issue
Block a user