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
acff5b41
Commit
acff5b41
authored
Aug 16, 2021
by
Rémi Bernon
Committed by
Alexandre Julliard
Aug 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebus.sys: Always call the EVDEV ioctls for input UDEV subsystem.
Signed-off-by:
Rémi Bernon
<
rbernon@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5c3f2f88
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
bus_udev.c
dlls/winebus.sys/bus_udev.c
+3
-5
No files found.
dlls/winebus.sys/bus_udev.c
View file @
acff5b41
...
...
@@ -1105,7 +1105,6 @@ static void try_add_device(struct udev_device *dev)
}
#endif
subsystem
=
udev_device_get_subsystem
(
dev
);
hiddev
=
udev_device_get_parent_with_subsystem_devtype
(
dev
,
"hid"
,
NULL
);
if
(
hiddev
)
{
...
...
@@ -1126,8 +1125,10 @@ static void try_add_device(struct udev_device *dev)
version
=
a_to_bcd
(
bcdDevice
);
}
}
subsystem
=
udev_device_get_subsystem
(
dev
);
#ifdef HAS_PROPER_INPUT_HEADER
else
if
(
!
strcmp
(
subsystem
,
"input"
))
{
struct
input_id
device_id
=
{
0
};
char
device_uid
[
255
];
...
...
@@ -1142,9 +1143,6 @@ static void try_add_device(struct udev_device *dev)
pid
=
device_id
.
product
;
version
=
device_id
.
version
;
}
#else
else
WARN
(
"Could not get device to query VID, PID, Version and Serial
\n
"
);
#endif
if
(
is_xbox_gamepad
(
vid
,
pid
))
...
...
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