summaryrefslogtreecommitdiff
path: root/tools/libinput-measure-fuzz.py
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2018-12-20 11:36:18 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2019-01-02 04:59:48 +0000
commit447551aafb24872d922efeaed1df720f6a8be426 (patch)
tree86cc2b8db67c3ace7b6726e6d204fe118739d915 /tools/libinput-measure-fuzz.py
parenta904738730297f202d8c9d5fcfa092b0c41f7ee5 (diff)
downloadlibinput-447551aafb24872d922efeaed1df720f6a8be426.tar.gz
tools: measure-fuzz: downgrade the fuzz mismatch error to just a warning
Related to #199 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools/libinput-measure-fuzz.py')
-rwxr-xr-xtools/libinput-measure-fuzz.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/libinput-measure-fuzz.py b/tools/libinput-measure-fuzz.py
index 5e12b1de..c5a488d6 100755
--- a/tools/libinput-measure-fuzz.py
+++ b/tools/libinput-measure-fuzz.py
@@ -110,11 +110,11 @@ class Device(object):
if axes[0x35] is not None:
if axes[0x35] != axes[0x00]:
- raise InvalidConfigurationError('fuzz for ABS_X differs from ABS_MT_POSITION_X')
+ print_bold('WARNING: fuzz mismatch ABS_X: {}, ABS_MT_POSITION_X: {}'.format(axes[0x00], axes[0x35]))
if axes[0x36] is not None:
if axes[0x36] != axes[0x01]:
- raise InvalidConfigurationError('fuzz for ABS_Y differs from ABS_MT_POSITION_Y')
+ print_bold('WARNING: fuzz mismatch ABS_Y: {}, ABS_MT_POSITION_Y: {}'.format(axes[0x01], axes[0x36]))
xfuzz = axes[0x35] or axes[0x00]
yfuzz = axes[0x36] or axes[0x01]