xf86-input monitor filedescriptors

2012-02-24 Thread David Herrmann
Hi I am working on an input-driver for xorg and I was wondering how I can add multiple FDs to be monitored for events? I can set pInfo->fd and then call xf86AddEnabledDevice() but I need to watch multiple FDs for my driver. Is there a simple way to do this? Furthermore, setting pInfo->fd to an ep

Re: xf86-input monitor filedescriptors

2012-02-26 Thread Peter Hutterer
On Fri, Feb 24, 2012 at 03:09:05PM +0100, David Herrmann wrote: > Hi > > I am working on an input-driver for xorg and I was wondering how I can > add multiple FDs to be monitored for events? I can set pInfo->fd and > then call xf86AddEnabledDevice() but I need to watch multiple FDs for > my driver

Re: xf86-input monitor filedescriptors

2012-02-27 Thread David Herrmann
Hi Peter On Sun, Feb 26, 2012 at 11:44 PM, Peter Hutterer wrote: > On Fri, Feb 24, 2012 at 03:09:05PM +0100, David Herrmann wrote: >> Hi >> >> I am working on an input-driver for xorg and I was wondering how I can >> add multiple FDs to be monitored for events? I can set pInfo->fd and >> then cal

Re: xf86-input monitor filedescriptors

2012-02-27 Thread Peter Hutterer
On Mon, Feb 27, 2012 at 12:45:43PM +0100, David Herrmann wrote: > Hi Peter > > On Sun, Feb 26, 2012 at 11:44 PM, Peter Hutterer > wrote: > > On Fri, Feb 24, 2012 at 03:09:05PM +0100, David Herrmann wrote: > >> Hi > >> > >> I am working on an input-driver for xorg and I was wondering how I can > >

Re: xf86-input monitor filedescriptors

2012-02-28 Thread David Herrmann
On Tue, Feb 28, 2012 at 2:07 AM, Peter Hutterer wrote: > On Mon, Feb 27, 2012 at 12:45:43PM +0100, David Herrmann wrote: >> Hi Peter >> >> On Sun, Feb 26, 2012 at 11:44 PM, Peter Hutterer >> wrote: >> > On Fri, Feb 24, 2012 at 03:09:05PM +0100, David Herrmann wrote: >> >> Hi >> >> >> >> I am work

Re: xf86-input monitor filedescriptors

2012-02-28 Thread Chris Bagwell
On Tue, Feb 28, 2012 at 10:09 AM, David Herrmann >>> I am writing an input driver for Nintendo Wii Remotes. >>> See: http://github.com/dvdhrm/xf86-input-xwiimote >>> > > The devices created for every WiiRemote include: > > "Nintendo Wii Remote" (core device) > EV_KEY: >>---KEY_LEFT,>--/*

Re: xf86-input monitor filedescriptors

2012-02-28 Thread David Herrmann
On Tue, Feb 28, 2012 at 6:55 PM, Chris Bagwell wrote: > On Tue, Feb 28, 2012 at 10:09 AM, David Herrmann I am writing an input driver for Nintendo Wii Remotes. See: http://github.com/dvdhrm/xf86-input-xwiimote > >> >> The devices created for every WiiRemote include: >> >> "Nintendo

Re: xf86-input monitor filedescriptors

2012-02-28 Thread Chris Bagwell
On Tue, Feb 28, 2012 at 12:58 PM, David Herrmann wrote: > On Tue, Feb 28, 2012 at 6:55 PM, Chris Bagwell wrote: >> On Tue, Feb 28, 2012 at 10:09 AM, David Herrmann > I am writing an input driver for Nintendo Wii Remotes. > See: http://github.com/dvdhrm/xf86-input-xwiimote > >> >>> >>

Re: xf86-input monitor filedescriptors

2012-02-28 Thread Peter Hutterer
On Tue, Feb 28, 2012 at 04:15:12PM -0600, Chris Bagwell wrote: > On Tue, Feb 28, 2012 at 12:58 PM, David Herrmann > wrote: > > On Tue, Feb 28, 2012 at 6:55 PM, Chris Bagwell wrote: > >> On Tue, Feb 28, 2012 at 10:09 AM, David Herrmann > >> > > I am writing an input driver for Nintendo Wii R

Re: xf86-input monitor filedescriptors

2012-02-28 Thread Peter Hutterer
On Tue, Feb 28, 2012 at 05:09:20PM +0100, David Herrmann wrote: > On Tue, Feb 28, 2012 at 2:07 AM, Peter Hutterer > wrote: > > On Mon, Feb 27, 2012 at 12:45:43PM +0100, David Herrmann wrote: > >> Hi Peter > >> > >> On Sun, Feb 26, 2012 at 11:44 PM, Peter Hutterer > >> wrote: > >> > On Fri, Feb 24