#43767 - amiga - Thu May 26, 2005 1:42 pm
Hi,
I'm not sure if this is the best forum for this question but if not I don't know where I can ask.
I'm having problems with some programs with the touch screen.
Some of them, like nibbles, duckhunt, smantouch, battleships, dsbonga are working properly.
But others, especially darkstar (darkpaint), mines, calc, nds wins paint work but not very well.
In ds paint you can paint properly in the centre of the screen but doesn't work on the borders.
It's only me or it's the same for everybody.
Sorry for my bad english.
#43768 - Filb - Thu May 26, 2005 2:04 pm
I have problems drawing with DarkPaint, too.
It randomly draws wrong lines.
#43769 - Extreme Coder - Thu May 26, 2005 3:19 pm
Exactly the same problem I have with Darkstar about random lines.
#43772 - Abcd1234 - Thu May 26, 2005 4:30 pm
This has already been discussed in other threads ad nauseum. The touch code present in ndslib is known to have problems, and as yet, there's no known solution (that I'm aware of).
#43774 - josath - Thu May 26, 2005 5:03 pm
Also, you may have problems if you have never calibrated your DS's touchscreen
#43808 - amiga - Thu May 26, 2005 11:30 pm
Thank you!
Touch screen calibrated and everything is working perfect.
I have read about it but I wasn't sure and I couldn't find it in the forum.
#43958 - telamon - Sat May 28, 2005 5:56 pm
I haven't been around the last weeks, but the last time i checked the touchscreen code for X/Y coords with calibration was correct. The problem was rather a question of "when" to read them. There is two variables Z1 and Z2, wich represent the pressure on the screen. Tough they hadn't at the time been figured out how to use them. So when you press very lightly you'll get disorted results of X/Y Coords between your touch-location and the dead-point of your touchscreen.
And most applications don't know how to discard theese disorted X/Y-coords and instead register them as a valid touches.
These disortions appear frequently when you press or release the pen, so simple taps on the screen will most likely give you corrupted coords.
This could be bypassed by inserting a little delay before the next X/Y read as soon as the coords leave the dead-point ,like some drawing apps do to give a better precision with low preformance tablets. But think it's a pretty ugly way since the ds actually has those two Z values wich could give us unmached precision, if only someone were to figure them out. :)
I hope i did't give you wrong or outdated info. I haven't done my DS-homework lately. Cheers!
_________________
http://manifested.ath.cx