praydog / UEVR

Universal Unreal Engine VR Mod (4.8 - 5.4)
http://uevr.io
3.16k stars 162 forks source link

[Feature request] Mouse Emulation for aiming with Motion Controllers #68

Open armax9 opened 10 months ago

armax9 commented 10 months ago

Is your feature request related to a problem? Please describe. A lot of games allow switching between XInput and keyboard/mouse controls on-the-fly. However, in some games without 3dof/6dof support, it's not possible to aim using the motion controller directly; aiming can only be done using the gamepad's stick, not by pointing the motion controller.

Describe the solution you'd like The ability to bind or emulate mouse movements with motion controllers. This would enable users to aim more intuitively in VR, using the motion controller as a direct pointer. Not sure if that possible? Or does it make any sense?

praydog commented 10 months ago

I had worked on this before but have the code stashed right now because was not sure how I could automatically do it, if the mouse was being shown by the game. This is with direct mouse input on top of in-game UIs.

However I'm not sure how this would work for moving the camera around. There isn't a direct 1:1 way to map mouse movements to how the camera is going to move, so even if it was done, it might feel very... laggy and cause nausea.