Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Aug 2021 22:26:18 GMT
From:      Vladimir Kondratyev <wulf@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: bb5eb85e5c01 - stable/13 - ps4dshock(4): Fix touchpad width in HID report descriptor
Message-ID:  <202108232226.17NMQIfs014804@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by wulf:

URL: https://cgit.FreeBSD.org/src/commit/?id=bb5eb85e5c01bf4bbd4e0424251bddbc0ed12129

commit bb5eb85e5c01bf4bbd4e0424251bddbc0ed12129
Author:     Vladimir Kondratyev <wulf@FreeBSD.org>
AuthorDate: 2021-08-16 20:18:27 +0000
Commit:     Vladimir Kondratyev <wulf@FreeBSD.org>
CommitDate: 2021-08-23 22:22:13 +0000

    ps4dshock(4): Fix touchpad width in HID report descriptor
    
    (cherry picked from commit 9b2b5f42b4fee7fdb6c7653829da71e9706f849b)
---
 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)		*/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108232226.17NMQIfs014804>