ps4dshock(4): Fix touchpad width in HID report descriptor

MFC after:	1 week
This commit is contained in:
Vladimir Kondratyev 2021-08-16 23:18:27 +03:00
parent 51b2216114
commit 9b2b5f42b4

View File

@ -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) */