nanogui: My touchscreen driver gives strange results!


Previous by date: 23 Jul 2007 13:59:15 +0100 browser, Jason Wen
Next by date: 23 Jul 2007 13:59:15 +0100 Re: FLTK 2.0 with NanoX, McCune, Michael
Previous in thread: 23 Jul 2007 13:59:15 +0100 My touchscreen driver gives strange results!, DanielNyström
Next in thread: 23 Jul 2007 13:59:15 +0100 Re: [nanogui] My touchscreen driver gives strange results!, DanielNyström

Subject: Re: [nanogui] My touchscreen driver gives strange results!
From: ####@####.####
Date: 23 Jul 2007 13:59:15 +0100
Message-Id: <1185195432.27621.5.camel@localhost>

Release is not a problem when the "press" finally has gone through.

It's just that I want to make a BUTTON_DOWN event when I get a touch
event from my touchscreen driver.
Other drivers seems to spit out alot of data when holding the finger
down, so if first event is dropped it won't be noticed since next one is
comming so fast.
My driver doesn't work that way. Might this be the problem?

On Mon, 2007-07-23 at 12:49 +0100, Robin Clark wrote:
> are you sending release events (i.e. pressure <= 49 )
> to indicate the press has finished ?
> 
> hay door
> 
> Robin
> 
> 
> --- Daniel Nyström ####@####.####
> wrote:
> 
> > Hi people!
> > 
> > I've added my own touchscreen driver to the
> > mou_touchscreen driver, and
> > even written my own kernel driver (since all touch
> > data comes from a
> > slave processor via I2C).
> > 
> > It does work, but a single touch is not triggering
> > the touch event in
> > Nano-X! I have to move around on the screen to make
> > it trigger.
> > 
> > My driver does not "spit" data all the time or
> > anything. Only when the
> > touchscreen is touched, it delivers X and Y and a
> > touch event.
> > When moving your finger, it delivers the new X and Y
> > data and a move
> > event.
> > And finally it delivers a untouch even when the
> > finger has left.
> > 
> > All this comes from my /dev/touchscreen with a read
> > of 3*32bits (x+y
> > +event).
> > 
> > When using a debug application which just read
> > /dev/touchscreen and
> > print out all events + coords, it works perfectly
> > and is fast.
> > But when using Nano-X it does not react on a touch
> > until i move my
> > finger around.
> > 
> > It seems like it's dropping the first events!
> > Even when adding debug prints within the PD_Read, it
> > all works great,
> > but it still doesn't make an
> > GR_EVENT_TYPE_BUTTON_DOWN event!
> > 
> > I'm really lost here, so please help me get in the
> > right direction to
> > fix this.
> > 
> > Best regards
> > Daniel
> > 
> > 
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > ####@####.####
> > For additional commands, e-mail:
> > ####@####.####
> > 
> > 
> 
> 
> 
>       ___________________________________________________________
> Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
> now.
> http://uk.answers.yahoo.com/ 



Previous by date: 23 Jul 2007 13:59:15 +0100 browser, Jason Wen
Next by date: 23 Jul 2007 13:59:15 +0100 Re: FLTK 2.0 with NanoX, McCune, Michael
Previous in thread: 23 Jul 2007 13:59:15 +0100 My touchscreen driver gives strange results!, DanielNyström
Next in thread: 23 Jul 2007 13:59:15 +0100 Re: [nanogui] My touchscreen driver gives strange results!, DanielNyström


Powered by ezmlm-browse 0.20.