Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
6719e6b2
Commit
6719e6b2
authored
Jul 22, 2022
by
Arkadiusz Hiler
Committed by
Alexandre Julliard
Jul 25, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Use GUID_Slider type for dials.
parent
50690e08
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
joystick_hid.c
dlls/dinput/joystick_hid.c
+1
-0
joystick8.c
dlls/dinput/tests/joystick8.c
+1
-1
No files found.
dlls/dinput/joystick_hid.c
View file @
6719e6b2
...
...
@@ -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
;
...
...
dlls/dinput/tests/joystick8.c
View file @
6719e6b2
...
...
@@ -2960,7 +2960,7 @@ static void test_many_axes_joystick(void)
{
0
},
{
0
},
{
0
},
{
.
guid
=
TRUE
},
{
0
},
{.
flags
=
TRUE
},
{.
flags
=
TRUE
},
{.
flags
=
TRUE
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment