Re: events in evdev.c

2008-09-21 Thread Sascha Hlusiak
Your argument would make sense if X didn't go to painful lengths to maintain an abstract input driver API/ABI that allowed for arbitrary drivers. confused. I was saying that the evdev wasn't as good an example of how to write a driver than the joystick was. The joystick driver itself

Re: events in evdev.c

2008-09-20 Thread Matthieu Herrb
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

Re: events in evdev.c

2008-09-20 Thread Daniel Stone
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

Re: events in evdev.c

2008-09-20 Thread Chuck Robey
Daniel Stone wrote: 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)

Re: events in evdev.c

2008-09-20 Thread Daniel Stone
On Sat, Sep 20, 2008 at 11:48:08AM -0400, Chuck Robey wrote: Daniel Stone wrote: 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

Re: events in evdev.c

2008-09-20 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel Stone wrote: On Sat, Sep 20, 2008 at 11:48:08AM -0400, Chuck Robey wrote: Daniel Stone wrote: 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

Re: events in evdev.c

2008-09-20 Thread Peter Hutterer
On Sat, Sep 20, 2008 at 11:48:08AM -0400, Chuck Robey wrote: I myself really like the approach that xf86-input-joystick takes, it allows the approach that evdev takes for Linux, but it doesn't try to suppose that the event interface that only works for Linux can work for other OSes. You know

Re: events in evdev.c

2008-09-19 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adam Jackson wrote: On Thu, 2008-09-18 at 09:24 -0700, Alan Coopersmith wrote: Chuck Robey wrote: Sorry, I can't parse what you wrote. You don't know where I heard that Xorg is Linux-only? Is that what you said? My understanding *had been*

Re: events in evdev.c

2008-09-19 Thread Sascha Hlusiak
Both Solaris and BSD have very similar event APIs, afaik, and could easily have drivers for same. But they don't. Patches gratefully etc. - ajax 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

Re: events in evdev.c

2008-09-18 Thread Daniel Stone
On Wed, Sep 17, 2008 at 08:38:09PM -0400, Chuck Robey wrote: I don't know if this is important or not, and I won't harp on this, but I've heard before that an attempt is made both to keep evdev.c very current, AND to have it not have anything in it that is Linux-only. I don't know where you

Re: events in evdev.c

2008-09-18 Thread Julien Cristau
On Thu, Sep 18, 2008 at 12:10:13 -0400, Chuck Robey wrote: Sorry, I can't parse what you wrote. EVDEV IS LINUX ONLY. Is that clearer now? Cheers, Julien ___ xorg mailing list xorg@lists.freedesktop.org

Re: events in evdev.c

2008-09-17 Thread Peter Hutterer
On Wed, Sep 17, 2008 at 08:38:09PM -0400, Chuck Robey wrote: I don't know if this is important or not, and I won't harp on this, but I've heard before that an attempt is made both to keep evdev.c very current, AND to have it not have anything in it that is Linux-only. AFAIK, only the linux