deanbrowne / j4me

Automatically exported from code.google.com/p/j4me
1 stars 1 forks source link

Samsung left/right softkeys not working [patch included] #47

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Firstly, I realize this has been reported in the past as issue #5, but I
could not find a way to re-open that issue.

The softkeys on Samsung phones (tested on a D900 and D900i) are mapped to
the FIRE event (along with the central OK/i button). This 

In other words, keycodes -6 (left softkey) and -7 (right softkey) and -5
are mapped to the FIRE action by getGameAction(). Since J4ME filters game
actions before the left/right menu actions, no menu buttons work on these
Samsung phones.

The attached patch solves this problem by detecting whether J4ME is running
on a Samsung phone, and adding a conditional exception to the
getGameAction() call (in the CanvasWrapper class) if this is the case.

Original issue reported on code.google.com by francois...@gmail.com on 12 Aug 2008 at 9:10

Attachments:

GoogleCodeExporter commented 9 years ago
Hi françois,

J4ME out of box works as usual on E900
This is rather a D900 issue.

Cheers
JM

Original comment by jmherme...@gmail.com on 27 Aug 2008 at 3:15