View Single Post
Old 07-13-2007, 05:32 PM   #4
HagNasty
Super Moderator

Activity Longevity
0/20 20/20
Today Posts
0/11 ssssss123
Location: Toronto Ontario
Default

There are a TONE of options to adding gamepad controls. For PC even easier is SDL. One DLL a constructor loop and a update loop then define the keys it's really easy. in the end it actually comes out like this

if(SDL.joystick[i].button.pressed == true)
{
Car[i].accelerate();
}

Look into it there are a lot of tutorials for SDL and it works for almost any controller. I have yet to try it on a 360 controller though.
__________________
~Justin Dooley

C, C++, C#, Objective-C, Java, PHP, SQL, Javascript, Actionscript, HTML, CSS
HagNasty is offline   Reply With Quote