>>>>> "Tias" == Tias  <[email protected]> writes:

Hi,

 Tias> So my question is:

 Tias> - how can I ask the Xserver for the sysfs name of a device
 Tias>   (having its XID)
 Tias> - equivalently: how can I ask for the input device path (I can
 Tias>   then use udevadm to find the sysfs name)

I recently sent a patch to the server to expose the device path as an
xinput property:

http://thread.gmane.org/gmane.comp.freedesktop.xorg.devel/7730/

And one to evdev to expose the output of the EVIOCGPHYS ioctl (useful as
unique key, other info can be looked up by using it as a key in
/proc/bus/input/devices:

http://thread.gmane.org/gmane.comp.freedesktop.xorg.devel/7729

-- 
Bye, Peter Korsgaard
_______________________________________________
[email protected]: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to