Skip to content
Snippets Groups Projects
Commit d168f1e8 authored by Rémi Bernon's avatar Rémi Bernon :speech_balloon: Committed by Alexandre Julliard
Browse files

winebus.sys: Count all absolute axes.

parent 6295af08
Branches
Tags
No related merge requests found
......@@ -581,10 +581,7 @@ static INT count_abs_axis(int device_fd)
}
for (i = 0; i < ARRAY_SIZE(absolute_usages); i++)
if (test_bit(absbits, i) &&
(absolute_usages[i].Usage >= HID_USAGE_GENERIC_X &&
absolute_usages[i].Usage <= HID_USAGE_GENERIC_WHEEL))
abs_count++;
if (test_bit(absbits, i)) abs_count++;
return abs_count;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment