Mapping XInput devices to /dev node

Nicolas Trangez eikke at
Mon Jul 16 12:51:11 PDT 2007


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...

Thanks a lot,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the xorg mailing list