From: Andy Ross <andy@plausible.org>
To: Harald Welte <laforge@gnumonks.org>
Cc: openezx-devel@lists.gnumonks.org, linux-kernel@vger.kernel.org
Subject: Re: How should Touchscreen Input Drives behave (OpenEZX pcap_ts)
Date: Thu, 18 May 2006 09:17:41 -0700 [thread overview]
Message-ID: <446C9E25.9050906@plausible.org> (raw)
In-Reply-To: <20060518070700.GT17897@sunbeam.de.gnumonks.org>
Harald Welte wrote:
> 0) What kind of X/Y/Pressure values should I return? Are they supposed
> to be scaled to the X/Y resolution of the LCD? As of now, I return
> X_ABS, Y_ABS and PRESSURE values between 0 and 1000 (each).
>
> However, the coordinates are actually inverted, so '0,0' corresponds
> to the lower right corner of the screen, whereas '1000,1000' is the
> upper left corner. Shall I invert them (i.e. return 1000-coord')?
The native driver reports pressure as either 65535 or 0, and doesn't
(seem to) scale the x/y values at all. The uncalibrated values and
180 degree rotation (actually, my phone shows a slight rotation error
or a few pixels) are definitely reported to user space without
modification.
A matrix-based recalibrator will handle any orientation so long as the
corners are known, and so long as you report a pressure of zero
meaning "pen up" everything should be compatible regardless of the
units you choose.
Andy
prev parent reply other threads:[~2006-05-18 16:17 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-18 7:07 How should Touchscreen Input Drives behave (OpenEZX pcap_ts) Harald Welte
2006-05-18 9:52 ` Richard Purdie
2006-05-18 10:58 ` Harald Welte
2006-05-18 12:44 ` Michael 'Mickey' Lauer
2006-05-18 11:16 ` Florent Thiery
2006-05-18 14:38 ` Harald Welte
2006-05-18 15:35 ` Florent Thiery
2006-05-18 16:19 ` Andy Ross
2006-05-18 16:27 ` Harald Welte
2006-05-18 23:16 ` Pavel Machek
2006-05-18 23:27 ` Harald Welte
2006-05-21 18:35 ` Pavel Machek
2006-05-18 16:17 ` Andy Ross [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=446C9E25.9050906@plausible.org \
--to=andy@plausible.org \
--cc=laforge@gnumonks.org \
--cc=linux-kernel@vger.kernel.org \
--cc=openezx-devel@lists.gnumonks.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.