You are not logged in.
Hi.
I'm starting to program some small games for NDS, so I installed devkitpro and DeSmuME to develop and test.
I compiled DeSMuME 0.9 succesfully and mouse is working as touchscreen in commercial games, but it's not working in NDS files created with devkitPro. Those NDS files work PERFECTLY under the real NintendoDS hardware.
Example code from nds-examples in devkitpro:
touchPosition touchXY;
(...)
scanKeys();
keystatus = keysDown();
touchRead(&touchXY);
mx = touchXY.px;
my = touchXY.py;
iprintf("\x1b[23;1H %04X, %04X ", mx, my);
The above code works under the real NDS hardware, but does not work under DeSmuME 0.9. I click on the screen and I never get any "touchscreen press".
NONE of the devkitpro examples using the mouse (touchRead()) work under DeSmuME for Linux.
Any idea? :?
IMPORTANT NOTE: I've compiled desmume 0.8 and mouse works correctly in my NDS under it. Maybe it's just a 0.9 bug!
Last edited by compiler (2009-01-12 11:46:29)
Offline
compiler: Update your SVN copy, afaik, CrazyMax fixed it today.
Offline
compiler: Update your SVN copy, afaik, CrazyMax fixed it today.
Thanks a lot.
I was not using the SVN snapshot, I downloaded the tar.gz file from sourceforge.
Thanks a lot for your answer
Offline