Monday, 8 February 2010

Soft keys in J2ME

When using a GameCanvas class override the keyPressed/Released/Repeated methods and capture key codes -7 (right soft key) and -6 (left soft key).

I have read that some hand manufacturers like to have different values, but these seem consistent with Nokia and Sony Ericsson atm...

No comments:

Post a Comment