Commit 981c5b4a authored by Frank Praznik's avatar Frank Praznik Committed by Jiri Kosina

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: default avatarFrank Praznik <frank.praznik@oh.rr.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent ce8efc3b
...@@ -1107,10 +1107,10 @@ static void sony_input_configured(struct hid_device *hdev, ...@@ -1107,10 +1107,10 @@ static void sony_input_configured(struct hid_device *hdev,
/* /*
* The Dualshock 4 touchpad supports 2 touches and has a * The Dualshock 4 touchpad supports 2 touches and has a
* resolution of 1920x940. * resolution of 1920x942 (44.86 dots/mm).
*/ */
if (sc->quirks & DUALSHOCK4_CONTROLLER) { if (sc->quirks & DUALSHOCK4_CONTROLLER) {
if (sony_register_touchpad(hidinput, 2, 1920, 940) != 0) if (sony_register_touchpad(hidinput, 2, 1920, 942) != 0)
hid_err(sc->hdev, hid_err(sc->hdev,
"Unable to initialize multi-touch slots\n"); "Unable to initialize multi-touch slots\n");
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment