Open Festive4020 opened 13 hours ago
I am not familiar with the wheel hack. Hardware GUIDs, including Vjoy, are read at the program start based on DirectInput data. I would expect an issue if the hardware ID changes after. The exception above is because the ID has changed, which is unexpected.
Do you have an article on the wheel hack for VJOY you can point me to?
Generally speaking, it would be unsupported and definitely cause errors if the behavior is changed from what VJOY normally supports, but I can look into this if the level of effort is not too significant to make it work.
Word of caution: GremlinEx will not change registry keys to avoid security problems as that would result in the code being flagged by UAC so that is not in the cards to do automatically.
So, there used to be a registry edit you could to do to make a vjoy device show up as a wheel for games that don't see vjoy in its default state.
The catch is, if you make that edit to a vjoy device, I run into one of the three following scenarios, depending on when I make that edit.
I either A.) Fail to see movement in Vjoy after making this change, even if the axis is successfully mapped on JG's end and it was working before the change
B.) Get the following error if I try to make a new profile in Joystick Gremlin after making the Registry Edit
Or
C.) Get the following errors every time I try to load a config on Joystick Gremlin vjoy device that has not had that registry tweak.
What's specifically being changed is the OEMData section for vJoy under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\
and
HKEY_LCURRENT_USER\SYSTEM\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\
And to be fair, I don't actually understand EXACTLY what that does. It just works for a few games that can't see vJoy inputs otherwise.
I also CAN get it to work if I make the registry change AFTER I click the controller icon in joystick gremlin, and then change the registry back after I finish playing.