When using XI2, the output of xinput list shows the device hierarchy including attachment, device type and a few others. This is useful for humans but hard to parse for scripts who usually only care about a device name or about the device ID. Add two more flags to xinput list to display name or id only.
Cheers, Peter _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
