Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
d47ec650
Commit
d47ec650
authored
Sep 20, 2021
by
Rémi Bernon
Committed by
Alexandre Julliard
Sep 20, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Pass output instance to get_object_info HID joystick callback.
Signed-off-by:
Rémi Bernon
<
rbernon@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
65403bb0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
joystick_hid.c
dlls/dinput/joystick_hid.c
+3
-3
No files found.
dlls/dinput/joystick_hid.c
View file @
d47ec650
...
...
@@ -652,11 +652,11 @@ static HRESULT WINAPI hid_joystick_GetObjectInfo( IDirectInputDevice8W *iface, D
instance
->
dwSize
!=
sizeof
(
DIDEVICEOBJECTINSTANCEW
))
return
DIERR_INVALIDPARAM
;
ret
=
enum_value_objects
(
impl
,
&
filter
,
DIDFT_ALL
,
get_object_info
,
NULL
);
ret
=
enum_value_objects
(
impl
,
&
filter
,
DIDFT_ALL
,
get_object_info
,
instance
);
if
(
ret
!=
DIENUM_CONTINUE
)
return
S_OK
;
ret
=
enum_button_objects
(
impl
,
&
filter
,
DIDFT_ALL
,
get_object_info
,
NULL
);
ret
=
enum_button_objects
(
impl
,
&
filter
,
DIDFT_ALL
,
get_object_info
,
instance
);
if
(
ret
!=
DIENUM_CONTINUE
)
return
S_OK
;
enum_collections_objects
(
impl
,
&
filter
,
DIDFT_ALL
,
get_object_info
,
NULL
);
enum_collections_objects
(
impl
,
&
filter
,
DIDFT_ALL
,
get_object_info
,
instance
);
return
S_OK
;
}
...
...
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