OpenVR2Key icon indicating copy to clipboard operation
OpenVR2Key copied to clipboard

Mouse keys

Open th0mk opened this issue 4 years ago • 7 comments

Hey there, love this tool. One thing I'd like to have is mouse keys. I usually use mouse 4 for push to talk, so if that would be possible to add that would be nice.

th0mk avatar May 24 '20 14:05 th0mk

It's a bit outside the scope of this application, but I'll add it to my to-do I guess. it might be super easy, or present problems, so we'll see 😋 I'm currently neck deep in a different project so will not be immediately, don't hold your breath 😅💦

BOLL7708 avatar May 24 '20 20:05 BOLL7708

Would love to see this added as well. How's that coming along by the way?

One thing to note though, I saw in a discussion on Steam that someone suggested maybe the track pads on the Index controller worked as a mouse interaction already.

I have a key bind for something that activates on a game in non-VR which requires the use of LCtrl and Mouse1 to operate. However, attempting to bind a button on the Index controller to LCtrl and then clicking in the right track pad seems to crash the game in question with a lengthy freeze and CTD.

Not sure if it's a functioning failure of the game on call or OVR2K itself. Is there an error log I can submit for you if you're curious?

Anyway, thanks for the nice tool.

itsBorked avatar Nov 17 '20 17:11 itsBorked

Why this hasn't happened yet is because it appeared to require a whole separate library to emulate clicks instead of keys, and at the time I just had no energy for that. I've started working on my projects again just recently so I could revisit this.

Not sure how to make it on a raw interface level though, as right now clicking is part of how to register the simulated key-presses, by clicking the buttons... 😐 Would take me figuring out how to fit this in without remaking most of the list.

BOLL7708 avatar Nov 17 '20 19:11 BOLL7708

Ah, I see. Well I hope you'll figure something out man. It's really the only thing holding me back from fully harnessing the power of such a mod. 🙁

itsBorked avatar Nov 26 '20 15:11 itsBorked

So I have ideas for this now, no promises yet, but I'm toying with ways of doing it.

One question I have though is: would this work fine with just leaving the mouse cursor where it currently is, or would it be preferred to move the cursor as well? The first alternative is the most convenient to make, but not sure if it's enough to be useful.

BOLL7708 avatar Apr 12 '21 09:04 BOLL7708

Most games use the HMD for positioning a cursor in VR and mouse "click" for selecting the highlighted option so even being able to bind a mouse click to a motion controller is light years ahead in usability :)

AS-Bruce avatar May 10 '21 03:05 AS-Bruce

So I have ideas for this now, no promises yet, but I'm toying with ways of doing it.

One question I have though is: would this work fine with just leaving the mouse cursor where it currently is, or would it be preferred to move the cursor as well? The first alternative is the most convenient to make, but not sure if it's enough to be useful.

I'd say the first alternative. We should be able to use the "cursor" in the HMD. I know for a fact my use case for this feature needs only simulate a mouse click within the VR application. How's it going btw?

jakeee51 avatar Nov 02 '21 04:11 jakeee51