events in evdev.c
Daniel Stone
daniel at fooishbar.org
Sat Sep 20 08:14:07 PDT 2008
On Sat, Sep 20, 2008 at 04:59:33PM +0200, Matthieu Herrb wrote:
> Chuck Robey wrote:
> > I'm really rather curious where you got the idea that FreeBSD had something that
> > looked even vaguely like the Linux events. I know that if you look at the
> > FreeBSD man page EVENTHANDLER(9) you can see an event interface, but that one is
> > intra-kernel, not exported to applications like the Linux one is. Using the
> > event interface, like evdev does, takes away the portability.
> >
> > If I could find a FreeBSD applications-event interface ala Linux, I would be
> > overjoyed, and immediately use it.
>
> NetBSD and OpenBSD share (at least try to) the wscons console driver
> which has a notion of event which is not too far away from evdev. It
> should be possible to write a more OS neutral event based input driver
> which could cover all of Solaris, Linux and wscons events.
Eh, might as well write xf86-input-wscons. I don't see what benefit
you'd gain by sharing a codebase, aside from added complexity and #ifdef
hell, a la xf86-input-{keyboard,mouse}.
Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20080920/717bb1b6/attachment.pgp>
More information about the xorg
mailing list