Thread (74 messages) flat view 74 messages, 10 authors, 2011-09-07

Re: [PATCH 2/6] Input: elantech - use firmware provided x, y ranges

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2011-08-18 07:48:03
Also in: lkml

On Thu, Aug 18, 2011 at 09:57:05AM +0800, JJ Ding wrote:
+
+		i = (etd->fw_version > 0x020800 &&
+		     etd->fw_version < 0x020900) ? 1 : 2;
+		*x_max = (etd->capabilities[1] - i) * 64;
+		*y_max = (etd->capabilities[2] - i) * 64;
+		*y_2ft_max = (*y_max - i) * 64 / 4;
Hmm, we should have the same range for ST and MT data and scale MT data
if it has lower resolution to match ST.

Thanks.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help