xinput: Fix axis scaling arithmetic.
Cast difference to ULONGLONG to ensure unsigned division, and correct
off-by-one error present when inverting axes (previously hidden by signed
division bug).
Fixes a regression introduced by bd9e130e.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46623Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Showing
Please
register
or
sign in
to comment