Hey Abuse, thank you for your reply. I’m not sure I explained what I was looking for well enough, however.
I checked out the Canvas javadoc again, but the info I’m looking for isn’t there. I’m not really looking to remap direction keys to number keys, but instead polling the number keys independently (so I could move with the directional buttons, and do some other stuff with a few of the number keys). I already know the keycodes for the number pad, but don’t know any constants that say whether they are being pressed, and thus how to see if they’re being pressed in a GameCanvas.
Of course, the idea of mapping the A/B/C/D keys to the number pad keys crossed my mind… but, unfortunately, the explanation in the javadoc is (as usual) lacking. I have no clue how to remap the keys based on the information within that document. Still, in the ideal case, I would like to be able to poll the number keys themselves.
Please bear with me here, I only started doing this stuff a week-and-a-half ago.