xf86-input monitor filedescriptors

David Herrmann dh.herrmann at googlemail.com
Fri Feb 24 06:09:05 PST 2012


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 epoll-fd gives me weird behavior.
My callback gets called correctly but the call is delayed until
another input-device has also input available.

Regards
David


More information about the xorg-devel mailing list