mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 02:01:16 +00:00
dinput: Use GUID_Slider type for dials.
This commit is contained in:
parent
50690e08bd
commit
6719e6b2d3
|
@ -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;
|
||||
|
|
|
@ -2960,7 +2960,7 @@ static void test_many_axes_joystick(void)
|
|||
{0},
|
||||
{0},
|
||||
{0},
|
||||
{.guid = TRUE},
|
||||
{0},
|
||||
{.flags = TRUE},
|
||||
{.flags = TRUE},
|
||||
{.flags = TRUE},
|
||||
|
|
Loading…
Reference in a new issue