nanogui: touchscreen calibration
Subject:
RE: [nanogui] touchscreen calibration
From:
Narasimha Reddy K ####@####.####
Date:
12 Mar 2002 04:19:46 -0000
Message-Id: <5575473D4532D411BE4C009027E8C838068E6681@MASBLREXC02>
Please help on building the XServer and Xlib source on Windows. Otherthan
normal building using NAMKE utility.
After building, what is the way of communication between Xlib and XServer.
rgs,
N Reddy
-----Original Message-----
From: Alex Holden ####@####.####
Sent: Tuesday, March 12, 2002 12:53 AM
To: Jordan Crouse
Cc: Greg's email; Jason Kingan; ####@####.####
Subject: Re: [nanogui] touchscreen calibration
Jordan Crouse wrote:
> That information should be passed to the driver, but each driver will
> handle its calibration a bit differently (for example, the Ipaq still
> uses a kernel calibration), so the engine would be better served if it
> called a:
> (driverptr)->set_calibration(minx, maxx, miny, maxy, swapx, swapy,
> click)
I see what you mean now (there needs to be a callback to inform the
mouse driver that the calibration has changed), and in fact only just
added this after Henry asked how he would do it for the ADS driver and I
realised that it needed to know when the values had changed in order to
tell the kernel.
> The only other thing that may be nice to do is to send a GR_MOUSE_EVENT
> when the calibration data is changed. That way, programs that care can
> be informed (not that I know why a program would care, but maybe it does
> its own scaling or something).
I disagree. The only value which it might be useful for a client program
other than the calibrator itself to know is the Z threshold, for those
which make use of the pressure sensing information. It could be argued
that they're better off having their own pressure calibration facility
anyway though. The scaling values themselves are irrelevant to ordinary
client programs because they only ever see screen coordinates.
--
------------ Alex Holden - http://www.linuxhacker.org ------------
If it doesn't work, you're not hitting it with a big enough hammer
---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####
DISCLAIMER: Information contained and transmitted by this E-MAIL is
proprietary to MASCOT SYSTEMS LTD and is intended for use only by the
individual or entity to which it is addressed, and may contain information
that is privileged, confidential or exempt from disclosure under applicable
law. If this is a forwarded message, the content of this E-MAIL may not have
been sent with the authority of the Company. If you are not the intended
recipient, an agent of the intended recipient or a person responsible for
delivering the information to the named recipient, you are notified that any
use, distribution, transmission, printing, copying or dissemination of this
information in any way or in any manner is strictly prohibited. If you have
received this communication in error, please delete this mail & notify us
immediately at ####@####.#### Before opening attachments,
please scan for viruses