git: 9b2b5f42b4fe - main - ps4dshock(4): Fix touchpad width in HID report descriptor
Vladimir Kondratyev
wulf at FreeBSD.org
Mon Aug 16 21:02:54 UTC 2021
The branch main has been updated by wulf:
URL: https://cgit.FreeBSD.org/src/commit/?id=9b2b5f42b4fee7fdb6c7653829da71e9706f849b
commit 9b2b5f42b4fee7fdb6c7653829da71e9706f849b
Author: Vladimir Kondratyev <wulf at FreeBSD.org>
AuthorDate: 2021-08-16 20:18:27 +0000
Commit: Vladimir Kondratyev <wulf at FreeBSD.org>
CommitDate: 2021-08-16 20:24:05 +0000
ps4dshock(4): Fix touchpad width in HID report descriptor
MFC after: 1 week
---
sys/dev/hid/ps4dshock.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/sys/dev/hid/ps4dshock.c b/sys/dev/hid/ps4dshock.c
index a4afba254c03..afb74bc4b843 100644
--- a/sys/dev/hid/ps4dshock.c
+++ b/sys/dev/hid/ps4dshock.c
@@ -215,7 +215,7 @@ static const uint8_t ps4dshock_rdesc[] = {
0x55, 0x0E, /* Unit Exponent (-2) */
0x65, 0x11, /* Unit (System: SI Linear, Length: Centimeter) */
0x35, 0x00, /* Physical Minimum (0) */
- 0x46, 0x80, 0x02, /* Physical Maximum (640) */
+ 0x46, 0xB8, 0x01, /* Physical Maximum (440) */
0x26, 0x80, 0x07, /* Logical Maximum (1920) */
0x75, 0x0C, /* Report Size (12) */
0x81, 0x02, /* Input (Data,Var,Abs) */
@@ -244,7 +244,7 @@ static const uint8_t ps4dshock_rdesc[] = {
0x55, 0x0E, /* Unit Exponent (-2) */
0x65, 0x11, /* Unit (System: SI Linear, Length: Centimeter) */
0x35, 0x00, /* Physical Minimum (0) */
- 0x46, 0x80, 0x02, /* Physical Maximum (640) */
+ 0x46, 0xB8, 0x01, /* Physical Maximum (440) */
0x26, 0x80, 0x07, /* Logical Maximum (1920) */
0x75, 0x0C, /* Report Size (12) */
0x81, 0x02, /* Input (Data,Var,Abs) */
@@ -284,7 +284,7 @@ static const uint8_t ps4dshock_rdesc[] = {
0x55, 0x0E, /* Unit Exponent (-2) */
0x65, 0x11, /* Unit (System: SI Linear, Length: Centimeter) */
0x35, 0x00, /* Physical Minimum (0) */
- 0x46, 0x80, 0x02, /* Physical Maximum (640) */
+ 0x46, 0xB8, 0x01, /* Physical Maximum (440) */
0x26, 0x80, 0x07, /* Logical Maximum (1920) */
0x75, 0x0C, /* Report Size (12) */
0x81, 0x02, /* Input (Data,Var,Abs) */
@@ -313,7 +313,7 @@ static const uint8_t ps4dshock_rdesc[] = {
0x55, 0x0E, /* Unit Exponent (-2) */
0x65, 0x11, /* Unit (System: SI Linear, Length: Centimeter) */
0x35, 0x00, /* Physical Minimum (0) */
- 0x46, 0x80, 0x02, /* Physical Maximum (640) */
+ 0x46, 0xB8, 0x01, /* Physical Maximum (440) */
0x26, 0x80, 0x07, /* Logical Maximum (1920) */
0x75, 0x0C, /* Report Size (12) */
0x81, 0x02, /* Input (Data,Var,Abs) */
@@ -353,7 +353,7 @@ static const uint8_t ps4dshock_rdesc[] = {
0x55, 0x0E, /* Unit Exponent (-2) */
0x65, 0x11, /* Unit (System: SI Linear, Length: Centimeter) */
0x35, 0x00, /* Physical Minimum (0) */
- 0x46, 0x80, 0x02, /* Physical Maximum (640) */
+ 0x46, 0xB8, 0x01, /* Physical Maximum (440) */
0x26, 0x80, 0x07, /* Logical Maximum (1920) */
0x75, 0x0C, /* Report Size (12) */
0x81, 0x02, /* Input (Data,Var,Abs) */
@@ -382,7 +382,7 @@ static const uint8_t ps4dshock_rdesc[] = {
0x55, 0x0E, /* Unit Exponent (-2) */
0x65, 0x11, /* Unit (System: SI Linear, Length: Centimeter) */
0x35, 0x00, /* Physical Minimum (0) */
- 0x46, 0x80, 0x02, /* Physical Maximum (640) */
+ 0x46, 0xB8, 0x01, /* Physical Maximum (440) */
0x26, 0x80, 0x07, /* Logical Maximum (1920) */
0x75, 0x0C, /* Report Size (12) */
0x81, 0x02, /* Input (Data,Var,Abs) */
More information about the dev-commits-src-all
mailing list