On Tue, Feb 18, 2014 at 02:28:53PM +1000, Peter Hutterer wrote:
> On Mon, Feb 17, 2014 at 01:42:52PM -0500, Benjamin Tissoires wrote:
> > X and Y are li_fixed_t, which is 24.8 fixed point real number.
> > li_fixed_t max is thus ~8388607.
> >
> > On a touchscreen with a range of 32767 values (like
On Mon, Feb 17, 2014 at 01:42:52PM -0500, Benjamin Tissoires wrote:
> X and Y are li_fixed_t, which is 24.8 fixed point real number.
> li_fixed_t max is thus ~8388607.
>
> On a touchscreen with a range of 32767 values (like a 3M sensor), and
> mapped on monitor with a resolution of 1920x1080, we c
X and Y are li_fixed_t, which is 24.8 fixed point real number.
li_fixed_t max is thus ~8388607.
On a touchscreen with a range of 32767 values (like a 3M sensor), and
mapped on monitor with a resolution of 1920x1080, we currently have:
(x - li_fixed_from_int(device->abs.min_x)) * width == 62912640