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
63562c05
Commit
63562c05
authored
Jan 13, 2024
by
Tyson Whitehead
Committed by
Alexandre Julliard
Jan 23, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput/tests: Update tests for DIPROP_AUTOCENTER.
parent
96b823c2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
driver_bus.c
dlls/dinput/tests/driver_bus.c
+3
-2
force_feedback.c
dlls/dinput/tests/force_feedback.c
+0
-0
No files found.
dlls/dinput/tests/driver_bus.c
View file @
63562c05
...
...
@@ -1109,9 +1109,10 @@ static NTSTATUS pdo_internal_ioctl( DEVICE_OBJECT *device, IRP *irp )
expect_queue_next
(
&
impl
->
expect_queue
,
code
,
packet
,
&
index
,
&
expect
,
TRUE
,
context
,
sizeof
(
context
)
);
winetest_push_context
(
"%s expect[%ld]"
,
context
,
index
);
ok
(
code
==
expect
.
code
,
"got %#lx, expected %#lx
\n
"
,
code
,
expect
.
code
);
ok
(
packet
->
reportId
==
expect
.
report_id
,
"got id %u
\n
"
,
packet
->
reportId
);
ok
(
packet
->
reportId
==
expect
.
report_id
||
broken
(
packet
->
reportId
==
expect
.
broken_id
),
"got id %u
\n
"
,
packet
->
reportId
);
ok
(
packet
->
reportBufferLen
==
expect
.
report_len
,
"got len %lu
\n
"
,
packet
->
reportBufferLen
);
check_buffer
(
packet
,
&
expect
);
if
(
!
broken
(
packet
->
reportId
==
expect
.
broken_id
))
check_buffer
(
packet
,
&
expect
);
winetest_pop_context
();
irp
->
IoStatus
.
Information
=
expect
.
ret_length
?
expect
.
ret_length
:
expect
.
report_len
;
...
...
dlls/dinput/tests/force_feedback.c
View file @
63562c05
This diff is collapsed.
Click to expand it.
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