In J2ME with MIDP 1.0, there''s no way to do it directly without vendor-specific extensions such as GameCanvas on the VodaPhone. You''ll have to override the keyPressed() and keyReleased() methods of your Canvas to update a maintained state, and then query that state. I''d show you code for that, but it''s at work.
"Sneftel is correct, if rather vulgar." --Flarelocke
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform.
You can accept analytics or continue with necessary cookies only.
Learn more