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
63284bf9
Commit
63284bf9
authored
Aug 13, 2016
by
Bruno Jesus
Committed by
Alexandre Julliard
Aug 15, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Fix some debug output.
Signed-off-by:
Bruno Jesus
<
00cpxxx@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
52bbc64a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
joystick_linux.c
dlls/dinput/joystick_linux.c
+3
-3
No files found.
dlls/dinput/joystick_linux.c
View file @
63284bf9
...
...
@@ -344,12 +344,12 @@ static HRESULT joydev_enum_deviceA(DWORD dwDevType, DWORD dwFlags, LPDIDEVICEINS
/* check whether we have a joystick */
if
((
fd
=
open
(
joystick_devices
[
id
].
device
,
O_RDONLY
))
<
0
)
{
WARN
(
"open(%s, O_RDONLY) failed: %s
\n
"
,
joystick_devices
[
id
].
nam
e
,
strerror
(
errno
));
WARN
(
"open(%s, O_RDONLY) failed: %s
\n
"
,
joystick_devices
[
id
].
devic
e
,
strerror
(
errno
));
return
S_FALSE
;
}
fill_joystick_dideviceinstanceA
(
lpddi
,
version
,
id
);
close
(
fd
);
TRACE
(
"Enumerating the linux Joystick device: %s (%s)
\n
"
,
joystick_devices
[
id
].
device
,
lpddi
->
tszProductN
ame
);
TRACE
(
"Enumerating the linux Joystick device: %s (%s)
\n
"
,
joystick_devices
[
id
].
device
,
joystick_devices
[
id
].
n
ame
);
return
S_OK
;
}
...
...
@@ -373,7 +373,7 @@ static HRESULT joydev_enum_deviceW(DWORD dwDevType, DWORD dwFlags, LPDIDEVICEINS
/* check whether we have a joystick */
if
((
fd
=
open
(
joystick_devices
[
id
].
device
,
O_RDONLY
))
<
0
)
{
WARN
(
"open(%s,O_RDONLY) failed: %s
\n
"
,
joystick_devices
[
id
].
device
,
strerror
(
errno
));
WARN
(
"open(%s,
O_RDONLY) failed: %s
\n
"
,
joystick_devices
[
id
].
device
,
strerror
(
errno
));
return
S_FALSE
;
}
fill_joystick_dideviceinstanceW
(
lpddi
,
version
,
id
);
...
...
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