nanogui: Interfacing problem: How do I connect my touchscreen driver to nano-X?
Subject:
AW: [nanogui] Interfacing problem: How do I connect my touchscreen driver to nano-X?
From:
"Wein, Peter \(ext\)" ####@####.####
Date:
20 Jul 2007 12:46:08 +0100
Message-Id: <0C9BD57BDE7F5947B6E8AF9C655EBD99CE1C4B@khes0e1a.ww001.siemens.net>
Ok, thanks, there was a problem in connecting with the cvs.windows.org, cause our intranet does not allow cvs-protocol (only http!) connections, but I did download it at home.
I have rewritten the code of mou_touchscreen.c so that it loads every time the nxcal.dat from the file system.
Also I have rewritten the code of nxcal transformation with the code of
http://www.embedded.com/shared/printableArticle.jhtml?articleID=164303539 (how to write a touch driver)
And
http://www.embedded.com/story/OEG20020529S0046 (calibration algorithm, which works very well for me)
And now it (almost) works, like it should.
Another interesting question:
Is there any support of nano-X for working parallel with touch and USB mouse, with priority for the mouse, if connected?
As I wanted to compile the GPM (and does GPM support USB mice) together with ADS7846 it was not possible.
How can I work around this?
Regards
Peter
-----Ursprüngliche Nachricht-----
Von: Greg Haerr ####@####.####
Gesendet: Mittwoch, 18. Juli 2007 23:56
An: Wein, Peter (ext); Robin Clark; Laine Walker-Avina
Cc: ####@####.####
Betreff: Re: [nanogui] Interfacing problem: How do I connect my touchscreen driver to nano-X?
> But how can I turn on/off the mouse pointer if I use mou_toucscreen.c?
The mouse driver doesn't change the need for a GrHideCursor at
the end of nanox/srvmain.c::GsInitialize().
> Calibration with nxcal:
I do not see where nxcal.dat is handled by nano-X! I am using the latest
Nano-X full tar ball v0.91.
Use the CVS sources, I need to release them as 0.92. Nxcal was run
before nano-X by a script, IIRC. I think this is all handled in the
pixil.org source for our PDA operating environment, and the
revised and enhanced window manager. See www.pixil.org for
more details.
Regards,
Greg