by twobob » Sat Feb 18, 2006 4:13 pm
A problem I found is when entering a new key to a key that is already remapped previously, then it can start to cause problems with the keys in the game
The solution I found is before you remap the keys, remap every key in the pocket pc to a key that is not used when running the game.
For example:-
remapKey(KEY_POCKET_UP, KEY_g);
remapKey(KEY_POCKET_DOWN, KEY_g);
remapKey(KEY_POCKET_LEFT, KEY_g);
remapKey(KEY_POCKET_RIGHT, KEY_g);
remapKey(KEY_POCKET_A, KEY_g);
remapKey(KEY_POCKET_B, KEY_g);
remapKey(KEY_POCKET_C, KEY_g);
remapKey(KEY_POCKET_START, KEY_g);
remapKey(KEY_POCKET_AUX1, KEY_g);
remapKey(KEY_POCKET_AUX2, KEY_g);
remapKey(KEY_POCKET_AUX3, KEY_g);
remapKey(KEY_POCKET_AUX4, KEY_g);
remapKey(KEY_POCKET_AUX5, KEY_g);
remapKey(KEY_POCKET_AUX6, KEY_g);
remapKey(KEY_POCKET_AUX7, KEY_g);
remapKey(KEY_POCKET_AUX8, KEY_g);
Where the key g is not used in the game.
Also in the Config - game properties – I left all the keys to be remapped blank. When the game starts I use a saved file to load and remap the keys.