tools: add --grab option
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 24 Jun 2015 05:12:54 +0000 (15:12 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 24 Jun 2015 05:19:33 +0000 (15:19 +1000)
commitf74769e77e2e51b568cf2061e7703eec1405f06d
treece76eacc6ecfefdfb04af492e7444f5f48092759
parentb7c414558d4d9520b3d935be9e6ad3c7f045639e
tools: add --grab option

Issues an EVIOCGRAB on the openend devices, providing exclusive access. Makes
it easier for debugging, so moving the pointer doesn't accidentally trigger
other stuff.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
tools/shared.c
tools/shared.h