Mapping XInput devices to /dev node

Greg KH greg at kroah.com
Mon Jul 16 17:03:30 PDT 2007


On Mon, Jul 16, 2007 at 09:51:11PM +0200, Nicolas Trangez wrote:
> Hija,
> 
> if I got a list of XDeviceInfo structures (which include a device ID),
> is it somehow possible to figure out the device file
> (/dev/input/eventX, /dev/input/mouseY, whatever) behind this device? I
> could not find anything useful in the XDeviceInfo struct, or in the
> XDevice structure...

Why would you want to know the /dev node associated with it?

thanks,

greg k-h



More information about the xorg mailing list