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
03181015
Commit
03181015
authored
Aug 16, 2016
by
Bruno Jesus
Committed by
Alexandre Julliard
Aug 17, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput/tests: Test for DIDOI_ASPECTPOSITION on joystick axes.
Signed-off-by:
Bruno Jesus
<
00cpxxx@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5ce8a1a9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
joystick.c
dlls/dinput/tests/joystick.c
+4
-0
No files found.
dlls/dinput/tests/joystick.c
View file @
03181015
...
...
@@ -142,6 +142,10 @@ static BOOL CALLBACK EnumAxes(const DIDEVICEOBJECTINSTANCEA *pdidoi, void *pCont
hr
=
IDirectInputDevice_SetProperty
(
info
->
pJoystick
,
DIPROP_DEADZONE
,
&
dipdw
.
diph
);
ok
(
hr
==
DI_OK
,
"IDirectInputDevice_SetProperty() failed: %08x
\n
"
,
hr
);
/* ensure DIDOI_ASPECTPOSITION is set for axes objects */
ok
(
pdidoi
->
dwFlags
&
DIDOI_ASPECTPOSITION
,
"Missing DIDOI_ASPECTPOSITION, flags are 0x%x
\n
"
,
pdidoi
->
dwFlags
);
info
->
axis
++
;
}
else
if
(
IsEqualIID
(
&
pdidoi
->
guidType
,
&
GUID_POV
))
info
->
pov
++
;
...
...
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