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
f1b782bf
Commit
f1b782bf
authored
Aug 14, 2016
by
Bruno Jesus
Committed by
Alexandre Julliard
Aug 15, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput/tests: Improve controller debug information.
Signed-off-by:
Bruno Jesus
<
00cpxxx@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e3b78317
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
joystick.c
dlls/dinput/tests/joystick.c
+15
-1
No files found.
dlls/dinput/tests/joystick.c
View file @
f1b782bf
...
...
@@ -203,7 +203,21 @@ static BOOL CALLBACK EnumJoysticks(const DIDEVICEINSTANCEA *lpddi, void *pvRef)
if
(
hr
!=
DI_OK
)
goto
DONE
;
trace
(
"---- %s ----
\n
"
,
lpddi
->
tszProductName
);
trace
(
"---- Controller Information ----
\n
"
"Product Name : %s
\n
"
"Instance Name : %s
\n
"
"devType : 0x%08x
\n
"
"GUID Product : %s
\n
"
"GUID Instance : %s
\n
"
"HID Page : 0x%04x
\n
"
"HID Usage : 0x%04x
\n
"
,
lpddi
->
tszProductName
,
lpddi
->
tszInstanceName
,
lpddi
->
dwDevType
,
wine_dbgstr_guid
(
&
lpddi
->
guidProduct
),
wine_dbgstr_guid
(
&
lpddi
->
guidInstance
),
lpddi
->
wUsagePage
,
lpddi
->
wUsage
);
/* Test for joystick ID property */
ZeroMemory
(
&
dipw
,
sizeof
(
dipw
));
...
...
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