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
b452ebb6
Commit
b452ebb6
authored
Dec 23, 2022
by
Tim Clem
Committed by
Alexandre Julliard
Jan 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput/tests: Test granularity of the mouse z-axis.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=53627
parent
36ca172e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
device8.c
dlls/dinput/tests/device8.c
+6
-0
No files found.
dlls/dinput/tests/device8.c
View file @
b452ebb6
...
@@ -1819,6 +1819,12 @@ static void test_sys_mouse( DWORD version )
...
@@ -1819,6 +1819,12 @@ static void test_sys_mouse( DWORD version )
ok
(
hr
==
DIERR_UNSUPPORTED
,
"GetProperty DIPROP_SATURATION returned %#lx
\n
"
,
hr
);
ok
(
hr
==
DIERR_UNSUPPORTED
,
"GetProperty DIPROP_SATURATION returned %#lx
\n
"
,
hr
);
hr
=
IDirectInputDevice8_GetProperty
(
device
,
DIPROP_CALIBRATIONMODE
,
&
prop_dword
.
diph
);
hr
=
IDirectInputDevice8_GetProperty
(
device
,
DIPROP_CALIBRATIONMODE
,
&
prop_dword
.
diph
);
ok
(
hr
==
DIERR_UNSUPPORTED
,
"GetProperty DIPROP_CALIBRATIONMODE returned %#lx
\n
"
,
hr
);
ok
(
hr
==
DIERR_UNSUPPORTED
,
"GetProperty DIPROP_CALIBRATIONMODE returned %#lx
\n
"
,
hr
);
prop_dword
.
diph
.
dwObj
=
DIMOFS_Z
;
prop_dword
.
dwData
=
0xdeadbeef
;
hr
=
IDirectInputDevice8_GetProperty
(
device
,
DIPROP_GRANULARITY
,
&
prop_dword
.
diph
);
ok
(
hr
==
DI_OK
,
"GetProperty DIPROP_GRANULARITY returned %#lx
\n
"
,
hr
);
todo_wine
ok
(
prop_dword
.
dwData
==
WHEEL_DELTA
,
"got %ld expected %ld
\n
"
,
prop_dword
.
dwData
,
(
DWORD
)
WHEEL_DELTA
);
prop_range
.
lMin
=
0xdeadbeef
;
prop_range
.
lMin
=
0xdeadbeef
;
prop_range
.
lMax
=
0xdeadbeef
;
prop_range
.
lMax
=
0xdeadbeef
;
hr
=
IDirectInputDevice8_GetProperty
(
device
,
DIPROP_RANGE
,
&
prop_range
.
diph
);
hr
=
IDirectInputDevice8_GetProperty
(
device
,
DIPROP_RANGE
,
&
prop_range
.
diph
);
...
...
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