OpenVR2Key icon indicating copy to clipboard operation
OpenVR2Key copied to clipboard

cord is sending the key multiple times and also sending single key bind

Open Zod1234 opened this issue 2 years ago • 1 comments

the game I'm playing gzdoomvr which doesnt support modifiers and need more binds and came upon this.

I'm using a quest 2.

to clarify my issue, ill just use one bind and one cord

I have L9 (which defaults to the oculus X button, left controller) bound to output 'r' in your software

I also have a cord1 which is left hand X button single + left hand grip button held bound to output 'f' in your software

if I test in notepad pressing the oculus X button outputs a single r as desired.

if I hold left grip and then press X once it outputs rfff, sometimes rffff. i can hold grip the entire time and press and release X and it will output a string like rfffrffffrffff etc. even though X was never pressed on its own.

i cleared the L9 binding in your software to just try the cord alone and it outputs fff or ffff

so what I was after was if I use a cord it would only output the binding once just like a single binding.

also, if a cord uses a button that is also bound on its own, it wouldn't send both.

in the combo I tried single and click for the X button just to see if there was any difference but same result.

Zod1234 avatar Dec 20 '23 23:12 Zod1234

I don't have a Quest 2 or any other Quest headset so not sure how I would test this. Chords have been weird as their state depends on multiple buttons, I'm pretty sure I had to handle them individually, but will have to check back in to see if there's any oddity the next time I work on this project. For native SteamVR headsets it appear to work fine, so maybe the Quest passing through the Meta/SteamVR transition does something differently.

BOLL7708 avatar Jan 19 '24 15:01 BOLL7708