Skip to content

Commit

Permalink
tools: measure-fuzz: downgrade the fuzz mismatch error to just a warning
Browse files Browse the repository at this point in the history
Related to #199

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
  • Loading branch information
whot committed Jan 2, 2019
1 parent a904738 commit 447551a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/libinput-measure-fuzz.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,11 @@ def check_property(self):

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]
Expand Down

0 comments on commit 447551a

Please sign in to comment.