Skip to content

Commit 981c5b4

Browse files
Frank PraznikJiri Kosina
authored andcommitted
HID: sony: Update the DualShock 4 touchpad resolution
The DualShock 4 touchpad has been measured to have a resolution of 44.86 dots/mm which equates to 1920x942. Signed-off-by: Frank Praznik <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent ce8efc3 commit 981c5b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/hid/hid-sony.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,10 +1107,10 @@ static void sony_input_configured(struct hid_device *hdev,
11071107

11081108
/*
11091109
* The Dualshock 4 touchpad supports 2 touches and has a
1110-
* resolution of 1920x940.
1110+
* resolution of 1920x942 (44.86 dots/mm).
11111111
*/
11121112
if (sc->quirks & DUALSHOCK4_CONTROLLER) {
1113-
if (sony_register_touchpad(hidinput, 2, 1920, 940) != 0)
1113+
if (sony_register_touchpad(hidinput, 2, 1920, 942) != 0)
11141114
hid_err(sc->hdev,
11151115
"Unable to initialize multi-touch slots\n");
11161116
}

0 commit comments

Comments
 (0)