Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 1.77 KB

README.md

File metadata and controls

42 lines (25 loc) · 1.77 KB

rust-ovr-cemuhook

tiny server to route Oculus Rift HMD Tracking Data to Emulators using Cemuhook gamepad motion protocol

Build the server

  • cargo build --release --example ovr-server

Run the server

  • clear; .\target\release\examples\ovr-server.exe

Test the server

this is a combination of zduny's pad-motion rust implementation,

combined with the dylanede's ovr-sys libOVR bindings crate

  1. the idea is to gather ovrTrackingState.HeadPose.ThePose.Orientation every 10ms or so,

  2. mix it with ovrTrackingState.CalibratedOrigin,

  3. then pass the deltas to yuzu using the cemuhook protocol over a little UDP server.

seems to be working with super mario odyssey 1.3.0 in yuzu. still need to test breath of the wild.

it's a little janky, but perhaps better than taping an android phone to your HMD 🤷

10/15/22

nearly working, tho, the values are not right. lots of gimbal locking happening. nearly playable. but mostly a mess

10/17/22

mostly working now, in breath of the wild, it was working when zooming with the slate haven't tried aiming with it yet mario is more stable, but still mis-aligned. i think i need to offset one or two of the axes by 90deg or so

image

image

similar work

DorsalVR (currently dolphin only, maybe i can contribute a config for yuzu?)