diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2018-12-20 11:36:18 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2019-01-02 04:59:48 +0000 |
commit | 447551aafb24872d922efeaed1df720f6a8be426 (patch) | |
tree | 86cc2b8db67c3ace7b6726e6d204fe118739d915 /tools/libinput-measure-fuzz.py | |
parent | a904738730297f202d8c9d5fcfa092b0c41f7ee5 (diff) | |
download | libinput-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-x | tools/libinput-measure-fuzz.py | 4 |
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] |