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
e9178864
Commit
e9178864
authored
Oct 05, 2021
by
Rémi Bernon
Committed by
Alexandre Julliard
Oct 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hidclass.sys: Add Sony controllers product string overrides.
Signed-off-by:
Rémi Bernon
<
rbernon@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
60ef4529
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
device.c
dlls/hidclass.sys/device.c
+6
-0
No files found.
dlls/hidclass.sys/device.c
View file @
e9178864
...
...
@@ -412,6 +412,7 @@ struct device_strings
static
const
struct
device_strings
device_strings
[]
=
{
/* Microsoft controllers */
{
.
id
=
L"VID_045E&PID_028E"
,
.
product
=
L"Controller (XBOX 360 For Windows)"
},
{
.
id
=
L"VID_045E&PID_028F"
,
.
product
=
L"Controller (XBOX 360 For Windows)"
},
{
.
id
=
L"VID_045E&PID_02D1"
,
.
product
=
L"Controller (Xbox One For Windows)"
},
...
...
@@ -424,6 +425,11 @@ static const struct device_strings device_strings[] =
{
.
id
=
L"VID_045E&PID_0B05"
,
.
product
=
L"Controller (Xbox One For Windows)"
},
{
.
id
=
L"VID_045E&PID_0B12"
,
.
product
=
L"Controller (Xbox One For Windows)"
},
{
.
id
=
L"VID_045E&PID_0B13"
,
.
product
=
L"Controller (Xbox One For Windows)"
},
/* Sony controllers */
{
.
id
=
L"VID_054C&PID_05C4"
,
.
product
=
L"Wireless Controller"
},
{
.
id
=
L"VID_054C&PID_09CC"
,
.
product
=
L"Wireless Controller"
},
{
.
id
=
L"VID_054C&PID_0BA0"
,
.
product
=
L"Wireless Controller"
},
{
.
id
=
L"VID_054C&PID_0CE6"
,
.
product
=
L"Wireless Controller"
},
};
static
const
WCHAR
*
find_product_string
(
const
WCHAR
*
device_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