[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150324001002.GJ15676@lukather>
Date: Mon, 23 Mar 2015 17:10:02 -0700
From: Maxime Ripard <maxime.ripard@...e-electrons.com>
To: Lothar Waßmann <LW@...O-electronics.de>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
Henrik Rydberg <rydberg@...omail.se>
Cc: linux-input@...r.kernel.org, Markus Pargmann <mpa@...gutronix.de>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 0/4] input: ft5x06: Fix userspace reported maximum
value
Hi Lothar, Dmitry,
On Tue, Mar 03, 2015 at 02:50:42PM +0100, Maxime Ripard wrote:
> Hi,
>
> The current ft5x06 reports to the user-space that its maximum
> coordinates are, on both X and Y, way higher than what could be
> actually usable on the screen (in my case, 5759x1151 instead of
> 480x800).
>
> This causes trouble on some userspace stacks that then try to re-scale
> these coordinates back to the framebuffer resolution, like QT does.
>
> Use the of_touchscreen code to find the real touchscreen limits in the
> DT case, and report that to the userspace.
Do you have any comments on that?
Thanks,
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists