by Dan East » Feb 17, 2002 @ 12:15am
Actually, that is exactly what Rob would have to do as far as GAPI is concerned. He would also have to provide a very simple DLL or two with do-nothing replacement functions (like showing and hiding the SIP, etc). The existing keyboard should map exactly across. As has been said, alternatives for a handful of hardware buttons would have to be provided. Implementation would be very simple, and consist of sending WM_KEYDOWN and WM_KEYUP messages in response to a substitute hardware key or onscreen virtual key.
Rob, I would recommend supporting external config files for each app. When your DLL is initialized you can determine which app is using it, and load a config file of the same name (ie: PocketWolf.exe -> PocketWolf.gapicfg). For some games, it may be better to rotate the display (like Snails and PocketWolf since they are landscape in the first place). For other games, the config file could specify a split point at which the screen could be divided. Many Pocket PC games have some sort of control panel, etc at the bottom of the display. That would be a very logical split point. The config file could also specify keybindings to use for the hardware key substitutes.
Dan East