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))
|
if (increment && !(x_diff > increment || y_diff > increment)) {
|
||||||
return;
|
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))
|
if (wacom->suppressed_increment && (wacom->b == wacom->oldb))
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
if (wacom->suppressed_increment && (wacom->b == wacom->oldb))
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
transmit_prepare:
|
transmit_prepare:
|
||||||
|
Reference in New Issue
Block a user