Multiple Joy Inputs
BlitzMax Forums/BlitzMax Programming/Multiple Joy Inputs| 
 | ||
| Hey Guys, I've been trying to make a game where you use game pads instead of keyboards , and was wondering how can you get input from two different game pads ? Twinprogrammer | 
| 
 | ||
| All the joystick commands have a port parameter. Change it to get info from different controllers. JoyX(0)Will get the X axis of the default controller. JoyX(1)Will get the X axis of the second controller. And so on. Last edited 2012 | 
| 
 | ||
| Pretty cool. Thanks ! Twinprogrammer | 
| 
 | ||
| Of course, it goes without saying that you should check to make sure that there are two controllers plugged in first, using "JoyCount()". Russell |