Jump to content

Added a new USB device... and lost my joystick bindings


Recommended Posts

Posted

Due to IL2 GB limitations, I always kept my USB devices plugged in the exact same order and I never had any issue.

Lately, I added a new device, a Winwing F/A18C UFC, to my PC. Not useful for IL2 GB but I left it plugged in in a new USB plug (to keep exact same USB plugs for the other devices).

Unfortunately, it wasn't enough, because IL2 GB lost my joystick bindings.

How can I fix it, besides unplugging the new UFC device every time I play IL2 GB?

 

PS: I wish IL2 GB would move to a better device binding management, like DCS or FS 2020. These software don't care about order of devices or they don't limit the number of devices.

SvAF/F16_Goblin
Posted (edited)

Unfortunately there is a good chance that windows has renamed your devices again after plugging in the new device and that mean even if You remove the new device the bindings are lost. The way IL-2 handles controls and mapping of inputs are ridiculous. Even the old IL-2 series did a better job.

 

However, if the ID of the devices still are the same then You can set the devices.txt file to read only and thus blocking IL-2 from adding new devices to it.

Doing this will ensure that devices are read by IL-2 in the same order that You mapped the controls.

 

Not foolproof by any means and it has failed for me a number of times.

Edited by SvAF/F16_Goblin
Posted

Hello,

If not too late, you can try to modify device.txt and global.actions (xxxx\data\input).

In device.txt you have the number that IL2 assigned to you device. In global.actions, with this number you can identiy which command are attached to this device.

You can try (make backups before) to modify the assigned number in device.txt to match the number assigned in global.actions.

 

Exemple :

1,%227200a1f0-5ca7-11eb-0000545345440180%22,VKBsim%20Gunfighter%20MCG%20Ultimate%20Twist  /// in device.txt, "1" is the number assigne to my joystick.

 

rpc_pitch,                                        joy1_axis_y,                                      0|  /// in global.actions : joy1_ is the prefix of all command attached to my joystick.

 

 

So, if "1" becomes "2" in devices.txt, I can try : to change "2" to "1" in devices.txt (if possible) or modify all "joy1_" to "joy2_" in global.actions (via notepad++ for instance).

Pay attention and be certain of what to do.

 

Have fun.

 

Posted

@lwalter are you using Windows 10 or 11? I recall having this joyID shuffle problem a few years ago and reporting it to the Devs. Afaik this was fixed back then. But yeah W10 would shuffle this # every time the PC was restarted. With Windows 10 and 11 I’ve been able to connect new devices without any trouble. I understand the game now remembers the hardware ID even though the menu still says “joy_2” etc.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...