Originally Posted By: milan_croatia


What I was told is that windows is stupid enough so every new controler you hook is going to get ID 1.



Milan,

AFAIK this is not the way Windows enumerate controllers, they are listed by vendor product ID in firmware.
The lowest number are device ID1 (some games recognize as 0)

These ID number can be check with Dxdiag command, look at Input tab.
Or using VKB Show_HID software:

http://vkb-pro.ru/downloads/programs/viewdownload/3-programmy/5-show-hid

Sample - how some controllers are listed by Windows:



Their vendor ID:

Mjoy8 DIY (9 axis...) - firmware ID 0x002 > in decimal: 02
Thrustmaster T.16000M - firmware ID 0xB10A > in decimal: 45322
CH Fighterstick USB - firmware ID 0xC0F3 > in decimal: 49395

How game (il-2CloD in case) seem them:



Joystick 0 (seem by CloD as Joystick only = Mjoy (9 axis...)
Joystick 1 = Thrustmaster T.16000M
Joystick 2 = CH Fighterstick USB

In this case the last controller plugged are CH Fightestick USB and and he was not moved to ID1.

Quote:


Just to ilustrate: I am used to assemble some Mjoy(ATmega) DIY USB controller and his original firmware are planned to show then as first device for Windows, so use number 01 (this on above example are planned to by the second).

In case I plan use this controller in rudder, but needed to appear as the last device Windows (since in old il-2 1946 if the joystick is not ID1 is not possible to adjust the response curves in game - since the GUI show rudder instead).

So I change this ID number in HEX code - in case I use 9999 (but in binary number) - and rewrite the microcontroler ATMEGA and work as expected. Obviously this is not possible in major or controllers since they dont allow firmware rewrite. (Beyond Mjoy (obsolete) I think are possible in L2 controller).


Ask for your controller manufacturer to write firmware ID with the hight as possible.

Logitech provide a software - that work with another brands - caled JoyID that promises alter this ID enumeration.
Supposedly dont work for il-2:1946/CloD, I dont know if work in anothers games (or Win7/8 64 since are old):

http://www.wingmanteam.com/latest_software/gadgets.htm:

Related topic, that suggests edit register key to change ID: http://forum.1cpublishing.eu/showthread.php?t=27113

Sokol1


Last edited by Sokol1; 08/31/13 12:59 AM.