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
101bf6c8
Commit
101bf6c8
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/tests: Assert that we can't get info about the third slider with c_dfDIJoystick2.
parent
6719e6b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
joystick8.c
dlls/dinput/tests/joystick8.c
+4
-0
No files found.
dlls/dinput/tests/joystick8.c
View file @
101bf6c8
...
...
@@ -3054,6 +3054,10 @@ static void test_many_axes_joystick(void)
ok
(
hr
==
DI_OK
,
"GetObjectInfo returned: %#lx
\n
"
,
hr
);
check_object
(
&
objinst
,
&
expect_objects
[
8
],
NULL
);
/* c_dfDIJoystick2 is broken when it comes to more than two sliders */
hr
=
IDirectInputDevice8_GetObjectInfo
(
device
,
&
objinst
,
offsetof
(
DIJOYSTATE2
,
rglVSlider
[
0
]),
DIPH_BYOFFSET
);
ok
(
hr
==
DIERR_NOTFOUND
,
"GetObjectInfo returned: %#lx
\n
"
,
hr
);
hr
=
IDirectInputDevice8_GetObjectInfo
(
device
,
&
objinst
,
offsetof
(
DIJOYSTATE2
,
lVX
),
DIPH_BYOFFSET
);
ok
(
hr
==
DI_OK
,
"GetObjectInfo returned: %#lx
\n
"
,
hr
);
check_object
(
&
objinst
,
&
expect_objects
[
10
],
&
todo_flags
);
...
...
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