mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-28 13:10:07 +01:00
tools: fix inverse up/down threshold handling in measure touch-size
https://bugs.freedesktop.org/show_bug.cgi?id=105264 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
f1b740022a
commit
5b29be3998
1 changed files with 1 additions and 1 deletions
|
|
@ -224,7 +224,7 @@ class Device(object):
|
|||
ud = pyudev.Devices.from_device_file(context, self.path)
|
||||
v = ud.get('LIBINPUT_ATTR_TOUCH_SIZE_RANGE')
|
||||
if v:
|
||||
self.up, self.down = colon_tuple(v)
|
||||
self.down, self.up = colon_tuple(v)
|
||||
|
||||
v = ud.get('LIBINPUT_ATTR_PALM_SIZE_THRESHOLD')
|
||||
if v:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue