diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2017-11-29 14:15:49 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2017-11-29 14:16:03 +1000 |
commit | d1146930daef0b9259154658cface5a4f8f5386f (patch) | |
tree | 01b13966b22c031d2b83be9dcef95d4865b98a9f | |
parent | ac9c3f53b9bdd199431f72729d608e30dbbead5b (diff) |
tools: print out the device used for measuring the trackpoint range
Suggested in https://bugs.freedesktop.org/show_bug.cgi?id=103947#c2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rwxr-xr-x | tools/libinput-measure-trackpoint-range | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/libinput-measure-trackpoint-range b/tools/libinput-measure-trackpoint-range index 40403616..eac84e30 100755 --- a/tools/libinput-measure-trackpoint-range +++ b/tools/libinput-measure-trackpoint-range @@ -60,6 +60,8 @@ class Device(object): self.device = evdev.InputDevice(self.path) + print("Using {}: {}\n".format(self.device.name, path)) + self.deltas = [] self.nxdeltas = 0 self.nydeltas = 0 |