GP2X Ness help! Control mapping
Displaying 1-3 of 3 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
relaxis

If I want to specify controls for the GP2X inside the VERGE3 engine, what variables do I map them to?

Posted on 2006-07-11 10:13:33

Ness

b1-b4 :)

The default verge quickbuttons have been mapped to the gp's ABXY buttons (can't remember which one is which at the moment.)


So for example if you do this

if(b1)
{
do_something();
}


On the PC when the user hits the space bar verge will run the function do_something(), on the gp verge will run the function do_something() when the user hits the A button. The joy.button[button] array has also been mapped to the GP buttons across ABXYRL, start and select (I think the joystick click as well). The keyboard hasn't been mapped to anything yet because I r sux!

Posted on 2006-07-11 11:38:57

relaxis

excellent thanks! Ness, if you're interested in going into production with me for this GP2X game I'm making please take a look at http://goldensoulgp2x.cogia.net

I will try to come out with a light demo in the near future.

P.S. noob question - in verge code - I wouldn't need to manually map b1 b2 b3 b4 but for start select and the control stick I would? What would the commands be?

Posted on 2006-07-11 15:39:08 (last edited on 2006-07-11 15:47:18)


Displaying 1-3 of 3 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.