sicsix / BYOJoystick

Provides support for mapping keyboard, HOTAS, and other input devices for VTOL VR
3 stars 1 forks source link

Buttons aren't binding #20

Open Pdubbs610 opened 6 days ago

Pdubbs610 commented 6 days ago

I tried running this and when i went to set the key binds for my thrustmaster T.16000M there was no input being detected. I also couldn't get out of the key bind pop up without alt+f4ing. Is there something i need to do in the files? or is there a video showing the set up process? Edit: the only thing that binds is the keyboard. nothing works on my hotas.

sicsix commented 4 days ago

That's odd. If you have Steam Input enabled try turning it off, it's known to cause issues with DirectInput.

Can you post your log files?

Pdubbs610 commented 3 days ago

i tried to disable steam input and it didn't work. Where are the log files located?

sicsix commented 2 days ago

There's a shortcut to Player.log in your VTOL VR installation directory.

Pdubbs610 commented 2 days ago

Player.log is this it?

sicsix commented 2 days ago

Yeah that's it, the issue is this:

MissingMethodException: void SharpDX.DirectInput.CustomDevice`3.GetBufferedData(System.Collections.Generic.List`1<!2>&)
  at BYOJoystick.UI.BYOJBindingModal.Update () [0x00040] in <78378a88f5274ec594e4b4fc5f50913c>:0 

I've got a custom SharpDX.dll included with the mod on Steam that has an extra method added to it. I think your problem might be caused by the wrong version from another mod being loaded first.

Have a look in the workshop folder for VTOL VR at ...\Steam\steamapps\workshop\content\3018410 and see if you can find multiple copies of SharpDX.dll.

Pdubbs610 commented 1 day ago

there is only 1 'SharpDX.dll' but there is another file named 'SharpDX.DirectInput.dll' do you think that the dot after the SharpDX is causing the issue? Just tried running it only running that mod and it still doesn't work.

sicsix commented 1 day ago

Sorry, SharpDX.DirectInput.dll is the one you're looking for. Search in ...\Steam\steamapps\common\VTOL VR as well, you've got an older version of that DLL somewhere that is getting loaded first by the mod loader. The one in ...\Steam\steamapps\workshop\content\3018410\3276352374 is the one from this mod that you need to keep.

If all else fails, just unsubscribe from all your mods, uninstall VTOL VR, and delete whatever's left in the VTOL VR installation directory and reinstall everything and it should work.

Pdubbs610 commented 1 day ago

yeah. i got another SharpDX.dll and SharpDX.DirectInput.dll in my VTOLVR_Data\Managed

sicsix commented 1 day ago

Just delete those two and you should be good to go, they were likely copied there by the old mod loader from a previous mod you had installed.

Pdubbs610 commented 1 day ago

that worked. thanks so much

Pdubbs610 commented 1 day ago

where should the input file be saved to. just in case.

sicsix commented 1 day ago

You won't need them.