summarylogtreecommitdiffstats
path: root/fake-ps3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fake-ps3.patch')
-rw-r--r--fake-ps3.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/fake-ps3.patch b/fake-ps3.patch
new file mode 100644
index 000000000000..0c09728a5ee0
--- /dev/null
+++ b/fake-ps3.patch
@@ -0,0 +1,14 @@
+diff --unified --recursive --text --color bluez-5.61.org/profiles/input/sixaxis.h bluez-5.61.new/profiles/input/sixaxis.h
+--- bluez-5.61.org/profiles/input/sixaxis.h 2021-02-23 04:26:59.000000000 +0800
++++ bluez-5.61.new/profiles/input/sixaxis.h 2021-08-29 16:30:07.102346000 +0800
+@@ -87,6 +87,10 @@
+ return &devices[i];
+ }
+
++ if ( vid == 0x054c && pid == 0x0268 )
++
++ return &devices[1];
++
+ return NULL;
+ }
+