[OLPC-Games] Question on the circle, square, check, and X buttons

Ingo Ruhnke grumbel at gmail.com
Mon Oct 20 15:10:08 EDT 2008


On Mon, Oct 20, 2008 at 7:54 PM,  <melchman at melchman.com> wrote:
> I'm new in developing games for the XO laptop. I'm currently working
> on a game which should run in the laptop's pre-installed Gnash Player.
> My question is how do I access the circle, square, check, and X
> buttons? Are there keyboard equivalents for these buttons? Thanks!

Yes, they come in as:

circle: KP_PRIOR (page up)
checkmark: KP_END
cross: KP_NEXT (page down)
square: KP_HOME

The rocker/dpad comes in as cursor keys.

-- 
WWW:      http://pingus.seul.org/~grumbel/
Blog:     http://grumbel.blogspot.com/
JabberID: xmpp:grumbel at jabber.org
ICQ:      59461927


More information about the Games mailing list