matzman666 / OpenVR-InputEmulator

An OpenVR driver that allows to create virtual controllers, emulate controller input, manipulate poses of existing controllers and remap buttons. A client-side library that communicates with the driver via shared-memory is also included.
GNU General Public License v3.0
716 stars 138 forks source link

Emulating the Touchpads on Windows Mixed Reality Joysticks #43

Open CharlieQLe opened 6 years ago

CharlieQLe commented 6 years ago

I'm trying to emulate the touchpads with the analog sticks on the Windows Mixed Reality controllers and it works well, but in games like Pavlov VR and Fallout 4 VR, it sees the emulated touchpad axes but not the actual "touch" state. In the Buy Menu on Pavlov VR, I cannot use the analog stick unless I just tap and hold the touchpad and move the analog stick at the same time. In Fallout 4 VR, the cursor for the finger position on the touchpads don't move with the analog sticks but it still activates the locomotion. It seems like the Input Emulator needs to emulate the capacitive sense that the touchpads and Oculus Touch analog sticks have when the analog sticks are in their deadzones.

Using the touchpad emulation option in the latest oculusfix build doesn't seem to work.

Would it be possible to make OpenVR detect that a finger is on an analog stick when the stick is not in its deadzone?

MoxFr commented 6 years ago

I make it working fine, Full locomotion on thumbsticks left & right on Fallout 4 VR.

MR Thumbsticks:

Left : Forward/Backward/Strafe Right : Smooth turning

But you have to modify some files ...

https://www.windowscentral.com/how-enable-windows-mixed-reality-joysticks-any-steamvr-game

then use this tutorial : https://www.reddit.com/r/WindowsMR/comments/7jen9e/tutorial_how_to_use_analog_sticks_in_steamvr/

You can close the issue, we have now full locomotion on MR Controllers, just need some tweaks

Thanks to matzman666 he helps a lot... <3

CharlieQLe commented 6 years ago

I make it working fine, Full locomotion on thumbsticks left & right on Fallout 4 VR.

MR Thumbsticks:

Left : Forward/Backward/Strafe Right : Smooth turning

But you have to modify some files ...

https://www.windowscentral.com/how-enable-windows-mixed-reality-joysticks-any-steamvr-game

then use this tutorial : https://www.reddit.com/r/WindowsMR/comments/7jen9e/tutorial_how_to_use_analog_sticks_in_steamvr/

You can close the issue, we have now full locomotion on MR Controllers, just need some tweaks

Thanks to matzman666 he helps a lot... <3

I wrote the tutorial on Reddit and as I stated in it, games will see the emulated touchpad axes but it doesn't emulate how the finger just touches the touchpad. You can see this in Fallout 4 VR where the little touchpad indicators on the controllers only move on the actual touchpad of the WMR controllers, but not when emulating the touchpad axes. It controls fine though for actual gameplay, but not menus. Pavlov VR also gets the same issue where without the game seeing the touch input, the game can't utilize the analog stick even though it sees the emulated touchpad axes.