Subject:
Re: [nanogui] Re: Nano-X touchscreen
From:
"ER" ####@####.####
Date:
27 Jun 2005 15:23:40 +0100
Message-Id: <20050627142311.6BBD9B72D@xprdmailfe17.nwk.excite.com>
Just wanted to include this.
With each touchscreen event I print the following:
root@arm922:~# event.x: 0000026e, event.y: 000ea600, event.pressure: 00000003,
event.x: 0000026e, event.y: 000ea600, event.pressure: 00010003, timestamp: 0000
event.x: 0000026e, event.y: 000ea600, event.pressure: 00180003, timestamp: 0000
event.x: 0000026e, event.y: 000ea600, event.pressure: 014a0001, timestamp: 0000
event.x: 0000026e, event.y: 000ea600, event.pressure: 00000000, timestamp: 0000
event.x: 0000026e, event.y: 000ef420, event.pressure: 00000003, timestamp: 0000
event.x: 0000026e, event.y: 000ef420, event.pressure: 00000000, timestamp: 0000
event.x: 0000026f, event.y: 00000000, event.pressure: 00000003, timestamp: 0000
event.x: 0000026f, event.y: 00000000, event.pressure: 00010003, timestamp: 0000
event.x: 0000026f, event.y: 00000000, event.pressure: 00000000, timestamp: 0000
event.x: 0000026f, event.y: 00004e20, event.pressure: 00000003, timestamp: 0000
event.x: 0000026f, event.y: 00004e20, event.pressure: 00010003, timestamp: 0000
event.x: 0000026f, event.y: 00004e20, event.pressure: 00000000, timestamp: 0000
event.x: 0000026f, event.y: 00009c40, event.pressure: 00180003, timestamp: 0000
event.x: 0000026f, event.y: 00009c40, event.pressure: 014a0001, timestamp: 0000
event.x: 0000026f, event.y: 00009c40, event.pressure: 00000000, timestamp: 0000
event.x: 0000026f, event.y: 00009c40, event.pressure: 00000003, timestamp: 0000
event.x: 0000026f, event.y: 00009c40, event.pressure: 00010003, timestamp: 0000
event.x: 0000026f, event.y: 00009c40, event.pressure: 00180003, timestamp: 0000
event.x: 0000026f, event.y: 00009c40, event.pressure: 014a0001, timestamp: 0000
event.x: 0000026f, event.y: 00009c40, event.pressure: 00000000, timestamp: 0000
event.x: 0000026f, event.y: 0000ea60, event.pressure: 00180003, timestamp: 0000
event.x: 0000026f, event.y: 0000ea60, event.pressure: 014a0001, timestamp: 0000
event.x: 0000026f, event.y: 0000ea60, event.pressure: 00000000, timestamp: 0000
--- On Mon 06/27, ER < ####@####.#### > wrote:
From: ER [mailto: ####@####.####
To: ####@####.####
Cc: ####@####.#### ####@####.####
Date: Mon, 27 Jun 2005 10:05:53 -0400 (EDT)
Subject: Re: [nanogui] Re: Nano-X touchscreen
Hi Jordon,
As per your question, the message is displayed first after a tap on the screen, then it's continually displayed. The kernel driver is build with the tslib api in mind and I was wondering if this conflicts in anyway with the nano-X touchscreen interface api.
Thanks,
--ER
>>> : : struct ts_event {
>>> : : short pressure;
>>> : : short x;
>>> : : short y;
>> : : short miliseconds;
>> : : };
>>> : : when I use this in the header file, I get an error:
>>> : : "Wrong number of bytes 0 read from touch panel expected 6
>>Well, there are a couple of things here. First, the read is returning 0
>>bytes, which is unexpected, because we really don't expect to be in
>>PD_Read unless there is something to read on the line.
>>Does this message print out continuously, or just on an event (say when you tap the screen).
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!