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

Can't seem to rebind Vive left-hand trigger #15

Open
Hyperlynx2 opened this issue Aug 21, 2019 · 2 comments
Open

Can't seem to rebind Vive left-hand trigger #15

Hyperlynx2 opened this issue Aug 21, 2019 · 2 comments

Comments

@Hyperlynx2
Copy link

No matter what I change ltrigger to in the gzdoom-username.ini, it always seems to +use. I'd really like to be able to rebind it to +speed or maybe +attack

@Hyperlynx2 Hyperlynx2 changed the title Can't seem to rebind left trigger Can't seem to rebind Vive left-hand trigger Aug 21, 2019
@StoniVR
Copy link

StoniVR commented Aug 28, 2019

its also on oculus touch i cant use the left trigger for secondary shot function. its also constant bind with use and u cant found this bind in the ini or change u cant do anything.

@Hyperlynx2
Copy link
Author

I've made some progress on trying to fix this myself!

I've discovered that what you set as joy4 in the ini file is what it uses for left trigger! In the default ini file, joy4 is bound to +use. So that's why that is happening!

I haven't figured out the original cause of the problem yet, though. I suspect HandleControllerState in gl_openvr.cpp will need to be changed, but maybe also whatever sets up the VRControllerState_t &newState that's passed in? I'll need to read up on OpenVR more.

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