28 lines
930 B
Diff
28 lines
930 B
Diff
|
From 0f2c07ab93dca496a1f34399ad2ff8a954690a72 Mon Sep 17 00:00:00 2001
|
||
|
From: GloriousEggroll <gloriouseggroll@gmail.com>
|
||
|
Date: Mon, 29 May 2023 17:15:14 -0600
|
||
|
Subject: [PATCH] set ds controller bluetooth pollrate to 1 ms
|
||
|
|
||
|
---
|
||
|
drivers/hid/hid-playstation.c | 4 ++--
|
||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
diff --git a/drivers/hid/hid-playstation.c b/drivers/hid/hid-playstation.c
|
||
|
index 8ac8f7b8e..1130663c3 100644
|
||
|
--- a/drivers/hid/hid-playstation.c
|
||
|
+++ b/drivers/hid/hid-playstation.c
|
||
|
@@ -330,8 +330,8 @@ struct dualsense_output_report {
|
||
|
* 0x3F - disabled
|
||
|
*/
|
||
|
#define DS4_OUTPUT_HWCTL_BT_POLL_MASK 0x3F
|
||
|
-/* Default to 4ms poll interval, which is same as USB (not adjustable). */
|
||
|
-#define DS4_BT_DEFAULT_POLL_INTERVAL_MS 4
|
||
|
+/* Default to 1ms poll interval (1000Hz, lower latency). */
|
||
|
+#define DS4_BT_DEFAULT_POLL_INTERVAL_MS 1
|
||
|
#define DS4_OUTPUT_HWCTL_CRC32 0x40
|
||
|
#define DS4_OUTPUT_HWCTL_HID 0x80
|
||
|
|
||
|
--
|
||
|
2.40.1
|
||
|
|