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
5ce8a1a9
Commit
5ce8a1a9
authored
Aug 16, 2016
by
Andrew Church
Committed by
Alexandre Julliard
Aug 17, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Report DIDOI_ASPECTPOSITION flag for axes objects.
Signed-off-by:
Bruno Jesus
<
00cpxxx@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
17987c58
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
joystick.c
dlls/dinput/joystick.c
+3
-2
No files found.
dlls/dinput/joystick.c
View file @
5ce8a1a9
...
...
@@ -495,9 +495,10 @@ HRESULT WINAPI JoystickWGenericImpl_GetObjectInfo(LPDIRECTINPUTDEVICE8W iface,
res
=
IDirectInputDevice2WImpl_GetObjectInfo
(
iface
,
pdidoi
,
dwObj
,
dwHow
);
if
(
res
!=
DI_OK
)
return
res
;
if
(
pdidoi
->
dwType
&
DIDFT_AXIS
)
if
(
pdidoi
->
dwType
&
DIDFT_AXIS
)
{
sprintfW
(
pdidoi
->
tszName
,
axisW
,
DIDFT_GETINSTANCE
(
pdidoi
->
dwType
));
else
if
(
pdidoi
->
dwType
&
DIDFT_POV
)
pdidoi
->
dwFlags
|=
DIDOI_ASPECTPOSITION
;
}
else
if
(
pdidoi
->
dwType
&
DIDFT_POV
)
sprintfW
(
pdidoi
->
tszName
,
povW
,
DIDFT_GETINSTANCE
(
pdidoi
->
dwType
));
else
if
(
pdidoi
->
dwType
&
DIDFT_BUTTON
)
sprintfW
(
pdidoi
->
tszName
,
buttonW
,
DIDFT_GETINSTANCE
(
pdidoi
->
dwType
));
...
...
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