I have recently started using the PPC2002 emulator to debug my apps instead of using my PPC, as I have been developing on my Laptop. When I click the D-Pad or any other keys on the default PPC2002 emulator skin, nothing is happening. Are these buttons even functional and if not, is there a way to map the PPC emulator keys to my Laptop's keyboard?
PPC 2002 Emulator Buttons?
They D-pad seems to be responsive on mine, either onscreen or using my directional arrows on a laptop. At least when I tested it last I think.
Yeah, you are right. They do work. The problem seems to be that ASpriteCE's input functions do not work with the PPC 2002 emulator, though. I can't find any information on this though. Do any of you know of any reports of this and possible work a rounds, or even what is the cause of the problem? I made a little test application with only a blank form, the ASpriteCE game control, and code that made the app close (App.End), when you pressed a hardware button, to see if it was something in my code for my game that was doing it, but that didn't work either. By the way, ASpriteCE is an Active X control that allows eVB to use GAPI functions.
My code for my game works fine on my real PPC, and recieves input from the hardware keys with no problems, so this must be only a problem with the emulator.
My code for my game works fine on my real PPC, and recieves input from the hardware keys with no problems, so this must be only a problem with the emulator.
Are you using a GAPI emulator or is aspriteCE reverting to GDI?
I'm using the gx.dll for x86 emulation that is provided in the \Windows CE Tools directory. I emailed the author of ASpriteCE and he had the same idea as you, in that it is a problem with GAPI, because the x86 version of GAPI was never fully tested or supported. I'm going to try the x86 gx.dll that came with ASpriteCE next, and if that still does not work I'm going to try the hacked x86 gx.dll that the author of PocketFrog made. I would have used the one that came with ASpriteCE first, but the readme suggested to use the offical one that came with Embedded Visual Tools. I'll let you all know if I have any luck.
Well I have good news. The version of GAPI for the 2002 emulator, works great. I now have input. Hurray! Thanks alot to the author of Pocket Frog. 