mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Merge pull request #1102 from MilhouseVH/fix_linux_hid_patch
linux: drop obsolete and never used patch
This commit is contained in:
commit
171d37e824
@ -1,18 +0,0 @@
|
||||
diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c
|
||||
index 1041c44..876ea2b 100644
|
||||
--- a/drivers/hid/hid-sony.c
|
||||
+++ b/drivers/hid/hid-sony.c
|
||||
@@ -1139,11 +1139,11 @@ static __u8 *sony_report_fixup(struct hid_device *hdev, __u8 *rdesc,
|
||||
* the gyroscope values to corresponding axes so we need a
|
||||
* modified one.
|
||||
*/
|
||||
- if ((sc->quirks & DUALSHOCK4_CONTROLLER_USB) && *rsize == 467) {
|
||||
+ if (sc->quirks & DUALSHOCK4_CONTROLLER_USB) {
|
||||
hid_info(hdev, "Using modified Dualshock 4 report descriptor with gyroscope axes\n");
|
||||
rdesc = dualshock4_usb_rdesc;
|
||||
*rsize = sizeof(dualshock4_usb_rdesc);
|
||||
- } else if ((sc->quirks & DUALSHOCK4_CONTROLLER_BT) && *rsize == 357) {
|
||||
+ } else if (sc->quirks & DUALSHOCK4_CONTROLLER_BT) {
|
||||
hid_info(hdev, "Using modified Dualshock 4 Bluetooth report descriptor\n");
|
||||
rdesc = dualshock4_bt_rdesc;
|
||||
*rsize = sizeof(dualshock4_bt_rdesc);
|
Loading…
x
Reference in New Issue
Block a user