Page 1 of 1

Touch input?

Posted: Sat Feb 22, 2014 2:52 pm
by Derrik
In an emulator, or by booting from a flashcard the following code works fine:

Code: Select all

touchPosition tp;
touchRead(&tp);
// now can use tp.px and tp.py.
However when I flash the compiled NDS (which can read the x and y fine on the same DS) to my DS' firmware it is always reporting the value for both x and y as 0.

So is there some register I have to set in order to get these values to be read from boot (something that the DS firmware should do)?