wacom: Fix increment modes

This commit is contained in:
Cacodemon345
2023-01-06 23:23:40 +06:00
parent 6a78eca1ff
commit b0b92a84e6

View File

@@ -327,15 +327,14 @@ 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->suppressed_increment && (wacom->b == wacom->oldb))
return;
}
}
transmit_prepare:
wacom_transmit_prepare(wacom, x, y);