This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Help on Pocket PC button mapping code?


Help on Pocket PC button mapping code?

Postby denthorq » Oct 28, 2003 @ 5:28am

Hi There,

I want to let the users configure Pocket PC button/keys for FIRE, MOVEMENTS etc.

How can I capture button pressed or implement this?

Thanks.
It's worth the wait...
User avatar
denthorq
pm Insider
 
Posts: 447
Joined: Apr 18, 2003 @ 9:15pm
Location: USA-PHILIPPINES


Postby fzammetti » Oct 28, 2003 @ 5:32am

Have a list of "actions" that the user can map on the screen... Instruct them to click on one (stylus usually, but doesn't have to be). When they do, whatever the next dwKey in keyDown (or up) you receive is what you map to that action. Not really much more to it than that.
...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby denthorq » Oct 28, 2003 @ 5:36am

Thanks Fz: But how do I implement this? Is it under keydown()? How do I get the button value?
It's worth the wait...
User avatar
denthorq
pm Insider
 
Posts: 447
Joined: Apr 18, 2003 @ 9:15pm
Location: USA-PHILIPPINES


Postby fzammetti » Oct 28, 2003 @ 6:07am

...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby denthorq » Oct 28, 2003 @ 6:14am

It's worth the wait...
User avatar
denthorq
pm Insider
 
Posts: 447
Joined: Apr 18, 2003 @ 9:15pm
Location: USA-PHILIPPINES


Postby mlepage » Oct 28, 2003 @ 6:46am

www.scalenesoftware.com
Great games for your Palm and Pocket PC!
User avatar
mlepage
pm Insider
 
Posts: 1050
Joined: Aug 3, 2003 @ 4:47am
Location: Canada


Postby StarFury » Oct 28, 2003 @ 7:56am

Should non GAPI exposed buttons be considered fair game for mapping?
<B><I> Earth Needs You! Don't Let Us Down - </I> <A target="_blank" HREF="http://www.pocketblasters.com">Galactic Assault - Invaders Turbo Edition - Teddies Revenge</A> [All for FREE!!]</B>
User avatar
StarFury
pm Member
 
Posts: 105
Joined: May 7, 2003 @ 3:11pm
Location: Norfolk, England


Postby fzammetti » Oct 28, 2003 @ 2:24pm

...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby warmi » Oct 28, 2003 @ 4:15pm

warmi
pm Insider
 
Posts: 518
Joined: Aug 24, 2002 @ 8:07am
Location: Chicago USA


Postby mlepage » Oct 28, 2003 @ 4:19pm

www.scalenesoftware.com
Great games for your Palm and Pocket PC!
User avatar
mlepage
pm Insider
 
Posts: 1050
Joined: Aug 3, 2003 @ 4:47am
Location: Canada


Postby Spock » Nov 6, 2003 @ 9:11pm

Spock
 


Postby Presto » Nov 6, 2003 @ 11:04pm

User avatar
Presto
pm Insider
 
Posts: 763
Joined: Jan 20, 2003 @ 5:51am
Location: Kalesian Archipelago


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron