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>
This commit is contained in:
Peter Hutterer 2017-11-29 14:15:49 +10:00
parent ac9c3f53b9
commit d1146930da

View file

@ -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