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
46cb582a
Commit
46cb582a
authored
Dec 11, 2013
by
Andrew Eikum
Committed by
Alexandre Julliard
Dec 12, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Fix logging typos.
parent
f068e329
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
joystick_linuxinput.c
dlls/dinput/joystick_linuxinput.c
+4
-4
No files found.
dlls/dinput/joystick_linuxinput.c
View file @
46cb582a
...
...
@@ -205,19 +205,19 @@ static void find_joydevs(void)
if
(
ioctl
(
fd
,
EVIOCGBIT
(
0
,
sizeof
(
joydev
.
evbits
)),
joydev
.
evbits
)
==
-
1
)
{
WARN
(
"ioct(EVIOCGBIT, 0) failed: %d %s
\n
"
,
errno
,
strerror
(
errno
));
WARN
(
"ioct
l
(EVIOCGBIT, 0) failed: %d %s
\n
"
,
errno
,
strerror
(
errno
));
close
(
fd
);
continue
;
}
if
(
ioctl
(
fd
,
EVIOCGBIT
(
EV_ABS
,
sizeof
(
joydev
.
absbits
)),
joydev
.
absbits
)
==
-
1
)
{
WARN
(
"ioct(EVIOCGBIT, EV_ABS) failed: %d %s
\n
"
,
errno
,
strerror
(
errno
));
WARN
(
"ioct
l
(EVIOCGBIT, EV_ABS) failed: %d %s
\n
"
,
errno
,
strerror
(
errno
));
close
(
fd
);
continue
;
}
if
(
ioctl
(
fd
,
EVIOCGBIT
(
EV_KEY
,
sizeof
(
joydev
.
keybits
)),
joydev
.
keybits
)
==
-
1
)
{
WARN
(
"ioct(EVIOCGBIT, EV_KEY) failed: %d %s
\n
"
,
errno
,
strerror
(
errno
));
WARN
(
"ioct
l
(EVIOCGBIT, EV_KEY) failed: %d %s
\n
"
,
errno
,
strerror
(
errno
));
close
(
fd
);
continue
;
}
...
...
@@ -296,7 +296,7 @@ static void find_joydevs(void)
}
if
(
ioctl
(
fd
,
EVIOCGID
,
&
device_id
)
==
-
1
)
WARN
(
"ioct
(EVIOCGBIT, EV_ABS
) failed: %d %s
\n
"
,
errno
,
strerror
(
errno
));
WARN
(
"ioct
l(EVIOCGID
) failed: %d %s
\n
"
,
errno
,
strerror
(
errno
));
else
{
joydev
.
vendor_id
=
device_id
.
vendor
;
...
...
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