lkml.org 
[lkml]   [2017]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v9 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation
On Sat 2017-02-18 20:17:09, H. Nikolaus Schaller wrote:
>
> > Am 18.02.2017 um 19:08 schrieb Pavel Machek <pavel@ucw.cz>:
> >
> >>> And I agree that kernel should _not_ attempt rescaling itself, as it
> >>> would lose precision.
> >>
> >> With an almost 1:1 mapping you won't loose precision.
> >
> > How do you propose to do that?
>
> something like
>
> xinput --set-prop --type=float "TSC200X touchscreen" "Coordinate Transformation Matrix" 1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 1.00
>
> but I think it is the default of X11 if you use no coordinate transformation at all.
> And having the kernel to properly scale from ADC values to screen coordinates.
>

No. How do you propose doing rescaling in the kernel without loosing
precision?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2017-02-18 23:58    [W:0.858 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site