Commit d168f1e8 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

winebus.sys: Count all absolute axes.

parent 6295af08
...@@ -581,10 +581,7 @@ static INT count_abs_axis(int device_fd) ...@@ -581,10 +581,7 @@ static INT count_abs_axis(int device_fd)
} }
for (i = 0; i < ARRAY_SIZE(absolute_usages); i++) for (i = 0; i < ARRAY_SIZE(absolute_usages); i++)
if (test_bit(absbits, i) && if (test_bit(absbits, i)) abs_count++;
(absolute_usages[i].Usage >= HID_USAGE_GENERIC_X &&
absolute_usages[i].Usage <= HID_USAGE_GENERIC_WHEEL))
abs_count++;
return abs_count; return abs_count;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment