nanogui: Setting up TouchScreen for AT91SAM9261-EK


Previous by date: 25 Jan 2007 16:15:27 +0000 Re: Setting up TouchScreen for AT91SAM9261-EK, Uwe Klatt
Next by date: 25 Jan 2007 16:15:27 +0000 Re: Compiling nano-x under buildroot, Greg Haerr
Previous in thread: 25 Jan 2007 16:15:27 +0000 Re: Setting up TouchScreen for AT91SAM9261-EK, Uwe Klatt
Next in thread:

Subject: Re: [nanogui] Setting up TouchScreen for AT91SAM9261-EK
From: "Kelvin Xu" ####@####.####
Date: 25 Jan 2007 16:15:27 +0000
Message-Id: <BAY117-F830D324F4064E1605465EBFA30@phx.gbl>

Hi,

Thanks for helping all along.

I read further into my device drivers. I believe the byte that is varying is 
actually a milliseconds reading and the other byte showing 7500 and 0 is the 
pressure variable.

It makes sense to me. However, i dun understand why the "click" action is 
not detected, when there is a pen-down and pen-up subsequently on the same 
point. I have checked that my touch screen is properly calibrated using 
nxscribble.

I have also tried debugging statements and the PEN_DOWN and PEN_UP are 
detected correctly.

I believe there is some bugs in the higher levels of the nano-X driver code. 
Do you know what file references the mou_touchscreen.c .

Puzzled.

Regards,
Kelvin




>From: "Uwe Klatt" ####@####.####
>To: "Kelvin Xu" ####@####.####
>Subject: Re: [nanogui] Setting up TouchScreen for AT91SAM9261-EK
>Date: Thu, 25 Jan 2007 16:22:26 +0100
>
>Kelvin Xu wrote:
>
>>However, i am not too sure how Nano-X input drivers work.
>>There are 2 possible values for the pressure variable after analysing
>>my touchscreen output.
>>1) One of the byte shows a value of 7500 on pen-down and 0 on pen-up.
>>=> This   subsequent pen-down and pen-up event does not send a
>>"Click" event to Nano-X as the programs do not respond
>>2) The other shows an almost random values on pen-up and pen-down
>>varying from 100-9000 and i could not figure out a pattern. With
>>this, Nano-X interpret as a continous pen-down.
>>Could you advice on what could be a possible problem?
>
>PD_Read() in /src/drivers/mou_touchscreen.c is used for reading touch-data.
>You can add a few EPRINTFs for debugging.
>
>The line "*pb = (event.pressure > 50) ? MWBUTTON_L : 0;" decides when a 
>"Pen-Down" is measured.
>Try if a value of 5000 instead of 50 helps!
>
>Bye
>Uwe
>

_________________________________________________________________
Find singles online in your area with MSN Dating and Match.com! 
http://cp.intl.match.com/eng/msn/msnsg/wbc/wbc.html


Previous by date: 25 Jan 2007 16:15:27 +0000 Re: Setting up TouchScreen for AT91SAM9261-EK, Uwe Klatt
Next by date: 25 Jan 2007 16:15:27 +0000 Re: Compiling nano-x under buildroot, Greg Haerr
Previous in thread: 25 Jan 2007 16:15:27 +0000 Re: Setting up TouchScreen for AT91SAM9261-EK, Uwe Klatt
Next in thread:


Powered by ezmlm-browse 0.20.