|
Post by dantman on Dec 3, 2019 6:04:10 GMT
I recently had a need to have my application output to 2 vJoy devices instead of just 1 vJoy device.
At first everything was going fine. The game considered vJoy Device 1 to be (Device=vJoy, DeviceIndex=0) in bindings as always. And vJoy Device 2 was recognized as (Device=vJoy, DeviceIndex=1) by the game.
However all of a sudden things went screwy today. The game is now considering vJoy Device 1 to be DeviceIndex=1 and vJoy Device 2 to be DeviceIndex=0.
I've tested my code and confirmed I'm still outputting to the same devices. And I've confirmed with vJoy Monitor that my application's device 1 is vJoy Device 1 and my application's device 2 is vJoy Device 2. But the game is considering Device 2 to be the first device and Device 1 to be the second device.
Worse, I have a feeling this is not my application's or the game's fault. But either vJoy's or Window's fault. As I took a look inside the Windows "Game Controllers" settings and realized that both vJoy devices are called "vJoy Device" and in the list Device 2 is the first item in the list and Device 1 is the second item in the list. Indicating that somehow the order of vJoy devices as registered in Windows has changed.
|
|