diff --git a/tools/libinput-measure-touch-size b/tools/libinput-measure-touch-size index 24d5b309..56e6d122 100755 --- a/tools/libinput-measure-touch-size +++ b/tools/libinput-measure-touch-size @@ -234,7 +234,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: