PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Ngage Numpad Keys reading....

Twelvegames · 25 Nov 2004, 18:07 UTC
Hi,
We are porting our game on Ngage. The Direction keys works well, but we dont know ho to get the Numpad keys pressed on Ngage.

Thanks!!
Hi,
I do the following and it does the trick:
in CMyApplication::KeyDown

if ( dwKey == '0' )
{
DoSomething();
}
else if ( dwKey == '1' )
{
DoSomethingElse();
}
else if ( dwKey == '2' )
....
....


Hope it helps.

Vincent.
Twelvegames · 26 Nov 2004, 11:57 UTC
Thanks, we are goin to try.

Do you have any advice on .sis creation? I mean, there some good other tool to create Sis files?Our app right now go straight install into the main Ngage memory, but we want to install the game into the Memory Card...
Twelvegames · 26 Nov 2004, 12:00 UTC
Ok that works, but we need to know which Key is associated for each number.

Example numpad1== ???
numpad2== ??

the first number seems to be connected to the Radio button, arrow button ecc..
Hi,

Concerning the .sis file, I use makesis which comes with the nokia sdk, it is pretty easy to use. When installing the user is asked where the app should be installed, card or memory (If you have a memory card inserted of course).

As for the key, I'm not sure I understand what you want but I would do something like that:
get the value of dwKey in CMyApplication::KeyDown and display it, so you know what value each key has. I haven't done it so I can't tell...

Vincent.
Twelvegames · 26 Nov 2004, 14:27 UTC
Ok, we will do it and will publish in this topic the Entire Keymaps. Thanks!!!