David Chua
10-26-2006, 01:38 AM
Hi Kornalius,
While I was trying out simple game programming I've notice that the "D" button on my Axim x51v was not mapped so, I review the GameAPI.ppl and found that it declares only up to "vkC$" therefore, I add "vkD$" to it. At the same time adding:
else if (key$ == keys.vkB$)
g_key.vkB$ = Down$;
to proc g_KeyEvent(key$, Down$) and it works fine. However, I've also notice the following lines:
else if (key$ == keys.vkC$)
g_key.vkStart$ = Down$;
which I think it should be "g_key.vkC$ = Down$;". Anyway, I've change it and everything seems to be ok. Please verify and let me know if I'm doing correctly.
I attached the modified file for your reference.
Regards.[br]1161823126_33_FT0_gameapi.zip
While I was trying out simple game programming I've notice that the "D" button on my Axim x51v was not mapped so, I review the GameAPI.ppl and found that it declares only up to "vkC$" therefore, I add "vkD$" to it. At the same time adding:
else if (key$ == keys.vkB$)
g_key.vkB$ = Down$;
to proc g_KeyEvent(key$, Down$) and it works fine. However, I've also notice the following lines:
else if (key$ == keys.vkC$)
g_key.vkStart$ = Down$;
which I think it should be "g_key.vkC$ = Down$;". Anyway, I've change it and everything seems to be ok. Please verify and let me know if I'm doing correctly.
I attached the modified file for your reference.
Regards.[br]1161823126_33_FT0_gameapi.zip