From 447551aafb24872d922efeaed1df720f6a8be426 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 20 Dec 2018 11:36:18 +1000 Subject: tools: measure-fuzz: downgrade the fuzz mismatch error to just a warning Related to #199 Signed-off-by: Peter Hutterer --- tools/libinput-measure-fuzz.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/libinput-measure-fuzz.py') 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] -- cgit v1.2.1