Jump to content

BoS Keeps Reassigning joystick numbers


Recommended Posts

Posted

I am having a problem where BoS keeps reassigning my joystick numbers ie Joy1, Jo2 etc in the Key Mapping.

sometimes I can exit and restart the game or switch on and off the PC and they will stay set but sometimes when the PC is switched off they will renumber. Anyone else have this trouble?

  • 1CGS
Posted

Using an external USB hub?

Posted

I changed my USB hub to a powered one and that might be the culprit.

My old hub was unpowered and I never had any trouble with it. I'll switch back to it and see if this continues.

Posted

Sharpe,

 

I am having the same issue and have several times had to completely reconfigure my Saitek X55--which takes a while... I'm plugging my devices (rudder pedals, throttle, and joy) into the USB inputs on my CPU and am not using an external hub.  Were you able to solve your problem?  

Posted

In the past with RoF I had left my controllers plugged in continually and never had a problem, they had always been in an unpowered hub. With BoS I did the same thing for the last several years and never had this problem.

Then I upgraded my PC with a new Motherboard, a clean Windows 10 install and a new USB hub which was powered. Somewhere in all that was a problem. I just switched back to my old USB hub and so far so good.

 

The joystick numbers seem to be assigned at random, they're not determined by the order the devices are plugged in. Maybe they're assigned by BoS and not Windows? Also unplugging any device like my keyboard resulted in resetting them.

Posted

It's actually based on how Windows enumerates them. So if you've made changes that might cause a device to be removed and re-added by Windows the ordering could have been changed. For instance, upgraded to Windows 10, new ordering, follow the Saitek Windows 10 Beta driver install steps, new ordering, and so on. You can view the order in the Game Controllers dialog that can be accessed via the context menu of any controller in the Windows control panel.

 

Any easy fix once you figure out the new order is to do find-and-replace in the BoS current.actions file (I'm pretty sure that's the name). Just open it in Notepad and find and replace joy0, joy1, and joy2 as needed. A less easy fix is to unplug everything, remove the device entries in the Device Manager (after selecting "show hidden") and then plug the hardware back in in the order you want.

 

In an ideal world BoS would use some other unique identifier for each device instead of relying on the enumeration order, which is not only not stable it's also not changeable after the fact.

Posted (edited)

A less easy fix is to unplug everything, remove the device entries in the Device Manager (after selecting "show hidden") and then plug the hardware back in in the order you want.

I had tried unplugging and re plugging in the desired order but it didn't work, although I did not remove the entries in Device Manager though, maybe that's why. Thanks for the tip about the config file though, that's great!

 

I'm still puzzled on why Windows would spontaneously renumber the devices. I'm left thinking somehow the powered USB hub is to blame. Maybe during startup the power is interrupted and it resets? The unpowered hub so far seems to be immune.

Edited by SharpeXB
Posted

I had tried unplugging and re plugging in the desired order but it didn't work, although I did not remove the entries in Device Manager though, maybe that's why. Thanks for the tip about the config file though, that's great!

 

I'm still puzzled on why Windows would spontaneously renumber the devices. I'm left thinking somehow the powered USB hub is to blame. Maybe during startup the power is interrupted and it resets? The unpowered hub so far seems to be immune.

 

Yeah, you definitely need to remove the device entries to get it to re-order based on sequence you plug them in.

 

I would guess the re-ordering has to do with the hub being added as a new device itself. But if it still re-orders with everything in the same ports, then well, I've no clue. I don't know too much on how Windows manages hardware.

Posted

Since changing that hub the problem hasn't repeated. Why? No idea...

Posted

Plugging in other hardware with an analog axis causes this. Just unplug whatever else you've added and the assignments should go back to normal. (I had the same problem when I left my Xbox controller plugged in, saved me half an hour of hunting for control assignments.)

Posted

Plugging in other hardware with an analog axis causes this. Just unplug whatever else you've added and the assignments should go back to normal. (I had the same problem when I left my Xbox controller plugged in, saved me half an hour of hunting for control assignments.)

I have a Logitech gaming keyboard with an axis wheel of some sort on it. I unplugged and replugged it and that re numbered everything. I figure that's what did it once. Another time it just happened spontaneously without anything being changed. Then I switched out the hub and it hasn't happened again.

Posted

Changing ports will cause you grief too. They are assigned numbers in sequential order and a new port counts as a new device number.

Posted

So now Rise of Flight lost my Stick assignment but kept the other two, without touching anything on the PC. BoS didn't. So it's something in the games themselves and not Windows.

SvAF/F16_Goblin
Posted

JoyID don´t work in W10, at least not on my system.

  • 2 weeks later...
Posted

I think a Windows Update just reassigned all the numbers. I'm tempted to call this a Windows 10 issue since I never had this problem with Vista or W7 as long as I kept everything plugged in.

Godfather_Actual
Posted

I began to have these same issues when i upgraded win7 to win10. My Ch combatstick, CH Pedals, and CH throttle were getting constantly renumbered. I solved it by using the CH Control manager and combining them so that windows recognizes only one controller in Mapped mode. Maybe that can help you too.  

Posted

I began to have these same issues when i upgraded win7 to win10. My Ch combatstick, CH Pedals, and CH throttle were getting constantly renumbered. I solved it by using the CH Control manager and combining them so that windows recognizes only one controller in Mapped mode. Maybe that can help you too.

 

How did you do that in CM?

Would it case problems if I already have these devices mapped somewhere else like DCS?

Godfather_Actual
Posted

How did you do that in CM?

Would it case problems if I already have these devices mapped somewhere else like DCS?

I saw a youtube tutorial. (Should be an easy search) i had my Dcs keys mapped already too but whats great is that with a click of a button to direct mode I was able to keep the dcs profiles. So when i play rof and bos i use the mapped mode which makes the comp recognize 1 controller then use direct mode for games which already recognize the controllers like dcs and elite.

Posted

I saw a youtube tutorial. (Should be an easy search) i had my Dcs keys mapped already too but whats great is that with a click of a button to direct mode I was able to keep the dcs profiles. So when i play rof and bos i use the mapped mode which makes the comp recognize 1 controller then use direct mode for games which already recognize the controllers like dcs and elite.

Thanks I'll try that. Any chance it will just lose the single combined controller like it loses the three?
Godfather_Actual
Posted

Thanks I'll try that. Any chance it will just lose the single combined controller like it loses the three?

 

Well you will have to key Bos one more time under the new config but as long as you remember to go back to direct for DCS then you should be good. 

Posted

Well you will have to key Bos one more time under the new config but as long as you remember to go back to direct for DCS then you should be good.

 

Is the new combined single controller created by CH Manager given a unique name that Windows won't reassign or will it just be recognized as another "joy1"? If so that will just end up getting renumbered by Windows eventually won't it?
Godfather_Actual
Posted

Is the new combined single controller created by CH Manager given a unique name that Windows won't reassign or will it just be recognized as another "joy1"? If so that will just end up getting renumbered by Windows eventually won't it?

It makes every CH controller Joy0 so you shouldnt have to reassign unless u plug in a gamepad or another brand of controller. It works flawless for me. 

Posted

It makes every CH controller Joy0 so you shouldnt have to reassign unless u plug in a gamepad or another brand of controller. It works flawless for me.

 

I'll try it. Hopefully plugging in another controller won't throw it off again.

One thing to maybe do that would make it more bulletproof is to go and map each HOTAS button to emulate a default key press on the settings instead of button mapping them through the game. That way of the joy# gets reassigned all you have to remap is the axes and not all the buttons.

 

I can only figure this is related to Windows 10 since all this gear never had a problem before. 10 seems more prone to reassign the numbers even when I don't touch anything.

Posted

It makes every CH controller Joy0 so you shouldnt have to reassign unless u plug in a gamepad or another brand of controller. It works flawless for me.

 

Do you run into a problem that there might be a maximum number of buttons or axes for a single device?

 

Someone trying the same solution in Star Citizen

http://www.ch-hangar.com/forum/index.php/topic/8282-need-solution-windows-keeps-changing-joystick-numbers/

Godfather_Actual
Posted

Do you run into a problem that there might be a maximum number of buttons or axes for a single device?

 

Someone trying the same solution in Star Citizen

http://www.ch-hangar.com/forum/index.php/topic/8282-need-solution-windows-keeps-changing-joystick-numbers/

I believe there is a limit but i think you can make 2 controllers anyway through the manager which keeps them in the right order. Although, i have yet to run into the max limit.

Posted

It must be Windows 10 that's the problem. The other guy on CH Hanger mentioned that connecting directly vs a hub didn't fix the problem. I had thought this was the issue before but it's not. So it must be W10

Posted (edited)

I got lucky and was able to re-plug in the controllers and get the right number assignments

It's possible that they number themselves in reverse of the order they're plugged in.

They were assigned in order:

joy3

joy2

joy1

joy0

 

Which was what I intended

 

I have a Logitech G13 gameboard but as near as I can tell it's interpreted as a "keyboard" and not a joystick even though it appears on this table.

 

The order seems determined by this table

0,1,2,3 all correspond to the numbers I get in the game but the G13 I plugged in last but it got assigned "1" so that's confusing although it ended up matching what I had before. It would seem logical that the table fills in from the top so what's connected first ends up last and then is numbered top to bottom. Except then the G13 should be "0" so that makes it seem like it's random luck

 

 

post-1189-0-87765700-1445050796_thumb.jpg

Edited by SharpeXB
Posted (edited)

A restart of the PC just reassigned all the order

I had tried some cold shutdowns and the order kept but a restart messed them up

 

Confirmed: Restarting the PC shuffles the assignments. cold shutdown did not.

 

This is pretty hopeless

 

I'll try the Mapped mode next but my guess is Windows will end up reassigning that single joystick as well

post-1189-0-50816500-1445051674_thumb.jpg

Edited by SharpeXB
Posted

correction. that was just blind luck getting the order right before. the numbering has no relation to the order the devices are plugged in

Posted

Shut down causes a shuffle too

SvAF/F16_Goblin
Posted

The only solution to this is that the game is coded the same way DCS World handles gaming devices!

It doesn't care about the order but instead works with the device ID and always keeps the settings.

Posted

The only solution to this is that the game is coded the same way DCS World handles gaming devices!

It doesn't care about the order but instead works with the device ID and always keeps the settings.

 

Right. BoS needs to be updated to work like other games that recognize the controllers by name and not just the joy# from Windows

DCS, ARMA3 and others work like this.

Posted

Similar topic: http://forum.il2sturmovik.ru/topic/2452-pri-kazhdom-zapuske-bzs-v-raznoj-posledovateln/

 

If no other solution found:

 

With Notepad++ open the files (..\data\input\) current.actions and current.map

 

Using the Replace function, replace Joy1... with Joy0 etc, as needed.

 

Save and play.

 

Notepad++ memorizes this files, making easy do this  replace when Joy' ID was changed again.

Posted

Similar topic: http://forum.il2sturmovik.ru/topic/2452-pri-kazhdom-zapuske-bzs-v-raznoj-posledovateln/

 

If no other solution found:

 

With Notepad++ open the files (..\data\input\) current.actions and current.map

 

Using the Replace function, replace Joy1... with Joy0 etc, as needed.

 

Save and play.

 

Notepad++ memorizes this files, making easy do this  replace when Joy' ID was changed again.

That won't solve the problem because even if you fix it there, Windows will just renumber the devices when you restart the PC

 

The only solution is on the developers side, to improve the settings system. There's nothing you can do as a player.

TG-55Panthercules
Posted (edited)

Hmm - maybe somebody could write a little script/macro/applet that would run right after you start Windows (or right before you start BoS), check for changes in Windows joystick number assignments, and edit your BoS settings file to change/replace all the necessary entries?

 

But yeah, it would be nice if the devs could address this.

Edited by TG-55Panthercules
Posted

That won't solve the problem because even if you fix it there, Windows will just renumber the devices when you restart the PC

 

The only solution is on the developers side, to improve the settings system. There's nothing you can do as a player.

 

Well, of course this don't solve the problem, why the "If no other solution found"just avoid the need to remap all joy buttons again when the Windows do this changes.

 

Before start the game check the Games Controllers status (type joy.cpl in Start box), if was changed use the Notepad++, until a better solution was provided.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...