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

[OpenVR] left-right buttons are swaped #22

Open
guysoft opened this issue Aug 5, 2021 · 1 comment
Open

[OpenVR] left-right buttons are swaped #22

guysoft opened this issue Aug 5, 2021 · 1 comment

Comments

@guysoft
Copy link

guysoft commented Aug 5, 2021

Hey,
Playing with the project in the thought of either forking it to something new, or just learning Godot.

There seems to be a left-right controller issue.

  1. left saber is blue
  2. right trigger triggers left saber click
  3. Heptics are swapped

Using Godot on linux with HTC Vive.

Any idea where this is set up in the code so I can see how to fix this?

@NeoSpark314
Copy link
Owner

Default Controller Button Mappings (For Oculus Quest Touch Controller) are here:

enum BUTTON {

BeepSaber uses an older version of the OQ_Toolkit; in the current version I have a function to remap buttons: https://github.com/NeoSpark314/godot_oculus_quest_toolkit/blob/51fe3b7ccf0c4f5d41e0b375b5b5aa18e3812799/OQ_Toolkit/vr_autoload.gd#L248 but it does not yet have specific code for the Vive; if this is really a consistent issue with godot that the contorller button mappings do not match between vive and touch this could be a place to fix it.

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