I want to find out which events are thrown when the keypad keys are pressed on a mobile phone. I want to use the up,down,left,right keys for movement. However I am not using a Canvas class and am not showing these events on the mobile phone. Basically I am using these movement keys to a server(Computer) and am using them to control the mouse on the Computer.
Basically, in short, what i want to know is the events OR ascii code that is thrown when a particular key is pressed on the mobile phone.
I'm... actually not certain that you can get the key events from the midlet if you're not subclassing Canvas/GameCanvas. The high level events (through Displayable's items) are really more general, geared towards a more generalized interface that may not have a physical keyboard, like a PDA with a touch-screen.