* [PATCH] hid: sony: Update the DualShock 4 touchpad resolution
@ 2014-09-24 13:38 Frank Praznik
2014-09-25 9:25 ` Jiri Kosina
0 siblings, 1 reply; 2+ messages in thread
From: Frank Praznik @ 2014-09-24 13:38 UTC (permalink / raw)
To: linux-input; +Cc: jkosina, Frank Praznik
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 <frank.praznik@oh.rr.com>
---
drivers/hid/hid-sony.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c
index 5baa311..bc4269e 100644
--- a/drivers/hid/hid-sony.c
+++ b/drivers/hid/hid-sony.c
@@ -1107,10 +1107,10 @@ static void sony_input_configured(struct hid_device *hdev,
/*
* 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 (sony_register_touchpad(hidinput, 2, 1920, 940) != 0)
+ if (sony_register_touchpad(hidinput, 2, 1920, 942) != 0)
hid_err(sc->hdev,
"Unable to initialize multi-touch slots\n");
}
--
2.1.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] hid: sony: Update the DualShock 4 touchpad resolution
2014-09-24 13:38 [PATCH] hid: sony: Update the DualShock 4 touchpad resolution Frank Praznik
@ 2014-09-25 9:25 ` Jiri Kosina
0 siblings, 0 replies; 2+ messages in thread
From: Jiri Kosina @ 2014-09-25 9:25 UTC (permalink / raw)
To: Frank Praznik; +Cc: linux-input
On Wed, 24 Sep 2014, Frank Praznik wrote:
> 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 <frank.praznik@oh.rr.com>
Applied, thanks.
--
Jiri Kosina
SUSE Labs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-25 9:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-24 13:38 [PATCH] hid: sony: Update the DualShock 4 touchpad resolution Frank Praznik
2014-09-25 9:25 ` Jiri Kosina
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).