| Reply | « Previous Thread | Next Thread » |
|
I am trying to capture keys from e61/e62 qwrty keyboard but it doesn't work? How do I trap qwerty keyboard keys on canvas?
|
|
Hi,
do like this... protected void keyPressed(int keyCode) { int gameAction = getGameAction(keyCode); int k=getKeyCode(gameAction); System.out.println("THE KEY CODE"+k); } The key code of that will print on the console. |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Controlling 3650 with a PC keyboard | btnokdev | Mobile Java General | 7 | 2007-01-18 12:49 |
| Strange MIDlet slowdown when use GameCanvas instead Canvas | alexey_kr | Mobile Java General | 1 | 2005-05-06 16:26 |
| Nokia 3300 Americas key press event not handled , keyboard | janulewicz | Mobile Java General | 0 | 2004-07-22 17:56 |
| Nokia 7650 - No keyboard input. | cs8st | Mobile Java General | 2 | 2002-09-25 22:04 |
| Nokia 7650 - No keyboard input. | cs8st | Mobile Java General | 0 | 2002-09-24 10:26 |