]> diplodocus.org Git - xorg-xinput/commit
Add --id-only flag for 'xinput list'.
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 18 Jan 2011 03:02:20 +0000 (13:02 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 19 Jan 2011 21:41:58 +0000 (07:41 +1000)
commit976c989af7978277061d0166d8e2a82cb8b1e795
tree061ca479c005911113c733758085a86a28e3bfc9
parentab90151162d39607e264e715a582e783e0da3c3a
Add --id-only flag for 'xinput list'.

The default output of xinput list is hard to parse by scripts. Provide a
--id-only option to print the device ID only, without any other
information.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Dirk Wallenstein <halsmit@t-online.de>
Tested-by: Dirk Wallenstein <halsmit@t-online.de>
man/xinput.man
src/list.c
src/xinput.c