summaryrefslogtreecommitdiff
path: root/plugins/sixaxis.c
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@gmx.net>2017-08-08 00:48:33 +0200
committerSzymon Janc <szymon.janc@codecoup.pl>2017-08-08 13:30:17 +0200
commit7cdfddada0609d0df5cfe3fe3a2fba6355e53d26 (patch)
treed701e6c6faca9f097e02dcb8949dfd7d34aa0373 /plugins/sixaxis.c
parent829fe1127c963924426a16bd4b0aa11a0c3f8db9 (diff)
downloadbluez-7cdfddada0609d0df5cfe3fe3a2fba6355e53d26.tar.gz
plugins/sixaxis: Use the same device name as the kernel
Some games check the device name to recognize a playstation controller. This changes the device name, when using a PS3 controller over bluetooth, to match the device name, that is advertised when using the controller via USB.
Diffstat (limited to 'plugins/sixaxis.c')
-rw-r--r--plugins/sixaxis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sixaxis.c b/plugins/sixaxis.c
index fcc93bc60..7e3c950b4 100644
--- a/plugins/sixaxis.c
+++ b/plugins/sixaxis.c
@@ -56,7 +56,7 @@ static const struct {
uint16_t version;
} devices[] = {
{
- .name = "PLAYSTATION(R)3 Controller",
+ .name = "Sony PLAYSTATION(R)3 Controller",
.source = 0x0002,
.vid = 0x054c,
.pid = 0x0268,