How to sense the input from key no. 1,3,7 &9

hi

i’ve developed a game for Nokia series 60 on J2ME platform.
The game must be played using the keys 1 to 9.
I’ve used GAME_A_PRESSED, GAME_B_PRESSED, GAME_C_PRESSED & GAME_D_PRESSED to sense the input from 1,3,7 & 9 in GAMECANVAS Class.
It is working fine in the emulator but in the handset
it is not sensing the input from key no. 1, 3, 7 & 9.

What is the solution for this and suggest me if any other way to use those keys.

plz do replay quickly.

with regards
chandru

Using the GAME_x_PRESSED constants to capture 1,3, 7, and 9 is a bad idea. Because there is no rule that says those keys will be bound to the GAME_x keys. It’s not possible to capture these keys with getKeyStates(), but making your own implementation is very simple.

shmoove