[PATCH xinput 0/3] Add different formats for --list option

Peter Hutterer peter.hutterer at who-t.net
Mon Jan 17 19:08:57 PST 2011


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


More information about the xorg-devel mailing list