Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buttons aren't binding #20

Open
Pdubbs610 opened this issue Oct 2, 2024 · 12 comments
Open

Buttons aren't binding #20

Pdubbs610 opened this issue Oct 2, 2024 · 12 comments

Comments

@Pdubbs610
Copy link

Pdubbs610 commented Oct 2, 2024

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.

@Pdubbs610 Pdubbs610 changed the title doesn't work Buttons aren't binding Oct 4, 2024
@sicsix
Copy link
Owner

sicsix commented Oct 4, 2024

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
Copy link
Author

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

@sicsix
Copy link
Owner

sicsix commented Oct 6, 2024

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

@Pdubbs610
Copy link
Author

Player.log
is this it?

@sicsix
Copy link
Owner

sicsix commented Oct 6, 2024

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
Copy link
Author

Pdubbs610 commented Oct 7, 2024

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
Copy link
Owner

sicsix commented Oct 7, 2024

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
Copy link
Author

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

@sicsix
Copy link
Owner

sicsix commented Oct 7, 2024

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
Copy link
Author

that worked. thanks so much

@Pdubbs610
Copy link
Author

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

@sicsix
Copy link
Owner

sicsix commented Oct 7, 2024

You won't need them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants