LCDproc development and user support list

Text archives Help


[Lcdproc] [PATCH] New driver linux_input


Chronological Thread 
  • From: harald at ccbib.org (Harald Geyer)
  • Subject: [Lcdproc] [PATCH] New driver linux_input
  • Date: Fri, 11 Dec 2015 17:54:44 +0100

Ethan Dicks writes:
> On Fri, Dec 11, 2015 at 6:49 AM, Harald Geyer <harald at ccbib.org> wrote:
> > This driver receives input from event devices of the linux input
> > subsystem.
> > Tested on Debian/i386. Compile tested on OpenWRT/arm.
>
> > ---
> > +## Linux event device input driver ##
> > +[linux_input]
> > +
> > +# Select the input device to use [default: /dev/input/event0]
> > +Device=/dev/input/event0
>
> Interesting. So besides catching key events, what other sorts of events
> might this be able to catch?

Any kind of buttons that are not keys in the traditional sense: mouse
buttons, gpio buttons, power buttons, CD eject buttons, etc.

In theory also other stuff like relative movements (mouse, joystick),
absolute movements (touch pad, pen) and maybe more. But I don't see what
lcdproc would do with them, so right now these are entirely ignored.
I guess one could merge the existing joystick driver into this one, if
anybody cares enough to do the work.

My use case is the gpio-keys kernel module. With that one I can actually
use standard keycodes (if they don't interfere with the rest of the
system - haven't tested yet), but it is still useful to get input from
the kernel without a controlling terminal.

best regards,
Harald

--
If you want to support my work:
see http://friends.ccbib.org/harald/supporting/
or donate via bitcoin to 1FUtd8T9jRN1rFz63vZz7s2fDtB6d6A7aS




Archive powered by MHonArc 2.6.18.

Top of page