wacom: Fix increment modes
This commit is contained in:
@@ -327,14 +327,13 @@ wacom_report_timer(void *priv)
|
||||
}
|
||||
}
|
||||
|
||||
if (increment && !(x_diff > increment || y_diff > increment))
|
||||
return;
|
||||
if (increment && !(x_diff > increment || y_diff > increment)) {
|
||||
if (wacom->increment && !wacom_switch_off_to_on(wacom->b, wacom->oldb))
|
||||
return;
|
||||
|
||||
if (wacom->increment && !wacom_switch_off_to_on(wacom->b, wacom->oldb))
|
||||
return;
|
||||
|
||||
if (wacom->suppressed_increment && (wacom->b == wacom->oldb))
|
||||
return;
|
||||
if (wacom->suppressed_increment && (wacom->b == wacom->oldb))
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
transmit_prepare:
|
||||
|
Reference in New Issue
Block a user