Mapping XInput devices to /dev node

Peter Hutterer mailinglists at who-t.net
Tue Jul 17 07:11:05 PDT 2007


Nicolas Trangez wrote:
> 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? 

Nope. Not even the server stores this information. It is only used by 
the driver and while it can be stored in various private fields, there's 
no client access to it.

Cheers,
   Peter



More information about the xorg mailing list