Main > Main Forum

controller ID numbers - are they assignable?

(1/2) > >>

tony.silveira:
hey all,

now that i have a removable star wars yoke on my machine with dual strike hack, i was wondering if there is any way in xp to have a plugged in controller always come up with the same joystick ID?

i ask because if i have my 360 pad plugged in at boot, the 360 pad is joystick 1, then plug in the star wars and it comes up joystick 2.  if the 360 pad is not plugged in, star wars yoke will be joystick 1.

as i move to adding more removable modules (and pedals), i don't want to have to go into mame config and assign controls every time i plug a controller in.

not even sure if it's possible but thought i'd ask.

many thanks!

Hoopz:
Try this thread.

http://forum.arcadecontrols.com/index.php?topic=108767.msg1154628#msg1154628

Vigo:
That is a problem without a good solution as far as I know. If you keep your controls plugged in, it should keep the same ID when it is restarted. In theory, if one of your two devices is always plugged in, and plugged into the USB port your computer recognizes as the first USB port, then you should be able to plug and unplug device 2 without the ID changing.

There is also a utility call JoyIDs that will allow you to reassign the ID, but it won't keep that assignment in memory. The minute you unplug again, it will shift the assignment around and you have to change it all over again in JoyIds. It still beats reconfiguring in MAME.

Vigo:
I completely forgot about ControllerRemap. Thanks for reminding me, Hoopz. I still have to try it out.


Forget my previous post.

nick3092:

--- Quote from: Vigo on May 09, 2012, 03:46:54 pm ---That is a problem without a good solution as far as I know. If you keep your controls plugged in, it should keep the same ID when it is restarted. In theory, if one of your two devices is always plugged in, and plugged into the USB port your computer recognizes as the first USB port, then you should be able to plug and unplug device 2 without the ID changing.

There is also a utility call JoyIDs that will allow you to reassign the ID, but it won't keep that assignment in memory. The minute you unplug again, it will shift the assignment around and you have to change it all over again in JoyIds. It still beats reconfiguring in MAME.



--- End quote ---

Windows enumerates USB joysticks by vendor and product ID. I did extensive testing with several devices a little over a year ago. At least that's how it works with MAME and presumably other Direct Input software. The Logitech program only works with certain software. MAME ignores it, but MaLa honors it. Most likely because MaLa isnt using DI.

I have seen discussions around ControllerRemap. Just haven't had time to check into it personally.

Navigation

[0] Message Index

[#] Next page

Go to full version