Skip to main content

Keypad navigation keys no longer work in latest code drop

1 reply [Last post]
pompeybob44uk
Offline
Joined: 2008-07-17
Points: 0

Hi guys,

I believe that since the 14th July code drop the 2/4/6/8/5 (UP/LEFT/RIGHT/DOWN/FIRE) keys no longer work as I would expect. Is this by design?

Cheers,
Bob

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Shai Almog

Hi,
yes they don't work as navigation by design.
I hope this is not a problem because changing this behavior might be
a pain for some devices...

The reasoning behind this change is that we would often want the
numeric keys to be used for other stuff. E.g. as accelerators in
lists/menus where you can press 2 to fire the second command. However
this used to collide with getGameAction() which returned "UP" for the
2 numeric key...

The solution was to disable these keys from being game keys.

Thanks.

> Hi guys,
>
> I believe that since the 14th July code drop the 2/4/6/8/5 (UP/LEFT/
> RIGHT/DOWN/FIRE) keys no longer work as I would expect. Is this by
> design?
>
> Cheers,
> Bob
> [Message sent by forum member 'pompeybob44uk' (pompeybob44uk)]
>
> http://forums.java.net/jive/thread.jspa?messageID=288524
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
> For additional commands, e-mail: users-help@lwuit.dev.java.net
>

Shai Almog
http://lwuit.blogspot.com/

[att1.html]