nanogui: My touchscreen driver gives strange results!


Previous by date: 23 Jul 2007 11:59:50 +0100 Re: Nano WM, Rowan Maclachlan
Next by date: 23 Jul 2007 11:59:50 +0100 browser, Jason Wen
Previous in thread:
Next in thread: 23 Jul 2007 11:59:50 +0100 Re: [nanogui] My touchscreen driver gives strange results!, DanielNyström

Subject: My touchscreen driver gives strange results!
From: ####@####.####
Date: 23 Jul 2007 11:59:50 +0100
Message-Id: <1185188296.10824.22.camel@localhost>

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



Previous by date: 23 Jul 2007 11:59:50 +0100 Re: Nano WM, Rowan Maclachlan
Next by date: 23 Jul 2007 11:59:50 +0100 browser, Jason Wen
Previous in thread:
Next in thread: 23 Jul 2007 11:59:50 +0100 Re: [nanogui] My touchscreen driver gives strange results!, DanielNyström


Powered by ezmlm-browse 0.20.