Home › Forums › Game Integration › VJoy causes problems for other input devices › Reply To: VJoy causes problems for other input devices

Steps to reproduce:
Enable multiple vJoy devices
Configure each enabled vJoy device with a different number of axes (configure at least 1 axis, see related issue below for explanation), buttons, and POVs.
Close UCR if it is running.
Start UCR.
Check the input axis and button binding menu of all vJoy devices.
Result:
All vJoy input devices will have the same binding menu options despite different configurations. I haven’t been able to determine which vJoy device it will follow, but I suspect it’s either the first or last vJoy input device that that is UCR encounters during enumeration. Output vJoy devices are unaffected.
Notes:
Aside from the related issue below, IOWrapper appears to enumerate vJoy DirectInput device capabilities correctly. As far as I can see, the configuration of the first vJoy device from IOWrapper.Core.IOController.GetInputList() is what is applied to all the remaining vJoy devices. That’s how far I’ve gotten so far. I don’t mind digging into this further later, however, I’m posting this issue just in case someone already has a good idea where the cause might lie.
Related issue: (This appears to be an IOWrapper issue)
Repeat same steps above.
Find the vJoy device whose configuration got applied to all the other vJoy input device.
Reconfigure that vJoy device to have no axes enabled.
Check the input axis and button binding menu of all vJoy devices.
Result:
All vJoy input devices will only have “Clear binding” in their binding menus.
Notes:
I included it here so that you can specifically avoid configuring a vJoy device with no axes while trying to track down this issue. From what I can tell, if I configure one of the vJoy devices with no axes, but with buttons and POVs, one of the resulting vJoy devices returned from IOWrapper.Core.IOController.GetInputList() will have no nodes available. I will file either an issue or PR with IOWrapper as soon as I know more.