Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: loppydog on September 28, 2010, 01:09:24 am

Title: Changing the order of joysticks
Post by: loppydog on September 28, 2010, 01:09:24 am
I am trying to find out if it is possible to change the order in which Windows assigns joysticks.  I have seen a couple posts about it, but no solutions so far.  http://forum.arcadecontrols.com/index.php?topic=91345.0 (http://forum.arcadecontrols.com/index.php?topic=91345.0) . I use VJOY which gives me two virtual joysticks, and I also have two aimtrak guns.  Now I dont know how Windows goes about ordering these devices, but the guns ALWAYS get assigned as joysticks 1 & 2, and the virtual joysticks get 3 & 4.  If the guns are not plugged in, the virtual joysticks will get 1 & 2, but as soon as I plug in the guns, they get bumped up to 3 & 4.  Does anyone know how to give these devices permanent ID's?  Can I change something in the registry?  I have already tried changing the Aimtraks to use higher device numbers with the supplied software, and that did not work.  Ultimately I just need my virtual joysticks to always be 1 & 2 no matter what device I plug in.  Thanks for any advice.
Title: Re: Changing the order of joysticks
Post by: drventure on January 25, 2011, 11:37:44 pm
I've had the same problem, just posted a utility to help with it

See here

http://forum.arcadecontrols.com/index.php?topic=108767.0 (http://forum.arcadecontrols.com/index.php?topic=108767.0)
Title: Re: Changing the order of joysticks
Post by: GreatLamer on January 26, 2011, 06:07:13 am
Should we see a video about aimtrak joy operation?
Title: Re: Changing the order of joysticks
Post by: drventure on January 26, 2011, 09:11:29 am
 ???

Not sure I follow. The prob he was having has to do with the fact that Mame uses joystick enumeration numbers as identifiers, but the joysticks will enum in different places depending on what sticks you currently have plugged in.

Not sure a video of aimtrack would help, but I believe there are a few around the forums here, people have done some cool things with aimtracks.
Title: Re: Changing the order of joysticks
Post by: loppydog on January 26, 2011, 08:59:09 pm
Since this topic was bumped, I thought I would show you guys how I got this working.  It is more of a "work around" than a "fix".
Here is the link.

Code: [Select]
http://www.hyperspin-fe.com/forum/showthread.php?t=10169&highlight=devcon
Title: Re: Changing the order of joysticks
Post by: drventure on January 26, 2011, 09:28:48 pm
Very cool. Thanks for the link. DevCon could be quite useful!