gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > problem with touch routines.

#53619 - jandujar - Fri Sep 09, 2005 8:39 pm

Hello people.

I have a little problem:

I read touchscreen with
tx=IPC->touchX;
ty=IPC->touchY;

Then I calcule the position on a grid table and change their value.

But when I click on a grid position their value change a lot of times.

Exists a routine like keysUp() for touch screen?


Another problem I have is:
tx & ty values are diferents on emulator and hardware, how can I calculate the position on a grid table if the values are diferents?

Sorry for my english, i'm spanish.
_________________
http://jandujar.homelinux.com
http://www.dsrobot.com