mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-24 18:10:06 +01:00
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>
This commit is contained in:
parent
a904738730
commit
447551aafb
1 changed files with 2 additions and 2 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue