mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
linux: drop obsolete and never used patch
This commit is contained in:
parent
9be1c9e49d
commit
4ac0dedf32
@ -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