Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: JudgeRob on October 14, 2019, 01:00:45 am

Title: Windows 10 Joystick ID
Post by: JudgeRob on October 14, 2019, 01:00:45 am
Did anyone ever find out a fix for re-assigning joystick IDs in Windows 10?  I have some Ultrastik 360s and I'm migrating to a new PC and the assigned IDs are different.  I'm trying to avoid redoing all the confings for each emulator, joy2key, etc. etc. 

Title: Re: Windows 10 Joystick ID
Post by: Arroyo on October 14, 2019, 05:55:03 pm
This worked for me, admittedly it was in Windows 7, not sure if there is a difference:


https://www.reddit.com/r/RetroArch/comments/8wj03s/usb_device_id_change_on_reboot_breaking/ (https://www.reddit.com/r/RetroArch/comments/8wj03s/usb_device_id_change_on_reboot_breaking/)

I only implemented it at the program directory level rather than the at the OS.
Title: Re: Windows 10 Joystick ID
Post by: JudgeRob on October 14, 2019, 09:44:21 pm
Thanks Arroyo.  I think I'm just going to slog through re-configuring everything.  'll be more sure of it working with future stuff.  Microsoft sucks.  How hard would it be for them to add this.  People have been wanting it forever.   :angry:
Title: Re: Windows 10 Joystick ID
Post by: Arroyo on October 15, 2019, 08:24:12 am
Thanks Arroyo.  I think I'm just going to slog through re-configuring everything.  'll be more sure of it working with future stuff.  Microsoft sucks.  How hard would it be for them to add this.  People have been wanting it forever.   :angry:


Won’t you have the issue of the ID’s moving on you every time you restart the machine?
Title: Re: Windows 10 Joystick ID
Post by: JudgeRob on October 15, 2019, 02:45:14 pm
So far it seems to assign them consistently to the same id#.  I guess I'll know better after many more reboots.  I never had an issue with the last setup I had.  Maybe it's because I am using U360s. 

I forgot Ultramap has an "assign ID" feature.  I thought it was only for Ultramap purposes and only for initial setup of the sticks, but maybe I'll poke around with that when I get home and see if it can actually reassign the ID as detected by other programs.
Title: Re: Windows 10 Joystick ID
Post by: Arroyo on October 15, 2019, 05:02:33 pm
So far it seems to assign them consistently to the same id#.  I guess I'll know better after many more reboots.

I remember that often a reboot of Windows 7 would be ok, but shutdown's for whatever reason would usually reorder devices (mostly Joy's). 

Good luck, this issue is such a pain in the ass.  Why they haven't done anything about this after all these years is maddening.
Title: Re: Windows 10 Joystick ID
Post by: JudgeRob on October 15, 2019, 09:36:42 pm
I'm curious which types of controls were you using that would get ID changed?
Title: Re: Windows 10 Joystick ID
Post by: Arroyo on October 15, 2019, 09:40:46 pm
I'm curious which types of controls were you using that would get ID changed?

Original console controllers (NES, SNES, Genesis, etc) using various dongles that convert the original plug to USB with Windows Joy drivers embedded (Mayflash, etc).
Title: Re: Windows 10 Joystick ID
Post by: Mr. Peabody on October 15, 2019, 09:59:05 pm
I have not experienced this issue with XP or 7. My devices stay plugged in.
Title: Re: Windows 10 Joystick ID
Post by: Howard_Casto on October 16, 2019, 12:27:33 pm
Windows assigns joystick IDs as they come in.... as in as soon as they get power and can be read, so if you are having issues, the easiest solution would be to get a powered hub and leave it constantly powered, then windows will read them in address order. 
Title: Re: Windows 10 Joystick ID
Post by: JudgeRob on October 17, 2019, 10:09:59 pm
Well, at least it seems to be consistently assigning them.  If I have issues of the ID's changing then the hub option seems practical.  Thanks guys.  :cheers:
Title: Re: Windows 10 Joystick ID
Post by: Ginsonic on October 18, 2019, 04:19:20 am
If the Joysticks are DirectInput devices (like U360) and not XInput devices, you can use DevReorder to always get the same ID, works like a charm:

https://github.com/briankendall/devreorder (https://github.com/briankendall/devreorder)