Touch input?

Post Reply
Derrik
Posts: 63
Joined: Wed Aug 14, 2013 8:28 pm

Touch input?

Post by Derrik » Sat Feb 22, 2014 2:52 pm

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)?

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests