dinput: Use GUID_Slider type for dials.

This commit is contained in:
Arkadiusz Hiler 2022-07-22 14:55:35 +03:00 committed by Alexandre Julliard
parent 50690e08bd
commit 6719e6b2d3
2 changed files with 2 additions and 1 deletions

View file

@ -276,6 +276,7 @@ static const GUID *object_usage_to_guid( USAGE usage_page, USAGE usage )
case HID_USAGE_GENERIC_RY: return &GUID_RyAxis;
case HID_USAGE_GENERIC_RZ: return &GUID_RzAxis;
case HID_USAGE_GENERIC_SLIDER: return &GUID_Slider;
case HID_USAGE_GENERIC_DIAL: return &GUID_Slider;
case HID_USAGE_GENERIC_HATSWITCH: return &GUID_POV;
}
break;

View file

@ -2960,7 +2960,7 @@ static void test_many_axes_joystick(void)
{0},
{0},
{0},
{.guid = TRUE},
{0},
{.flags = TRUE},
{.flags = TRUE},
{.flags = TRUE},