tiny server to route Oculus Rift HMD Tracking Data to Emulators using Cemuhook gamepad motion protocol
cargo build --release --example ovr-server
clear; .\target\release\examples\ovr-server.exe
- tested using PadTest.exe from here: https://cemuhook.sshnuke.net/padudpserver.html
this is a combination of zduny's pad-motion rust implementation,
combined with the dylanede's ovr-sys libOVR bindings crate
-
the idea is to gather ovrTrackingState.HeadPose.ThePose.Orientation every 10ms or so,
-
mix it with ovrTrackingState.CalibratedOrigin,
-
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 🤷
nearly working, tho, the values are not right. lots of gimbal locking happening. nearly playable. but mostly a mess
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
DorsalVR (currently dolphin only, maybe i can contribute a config for yuzu?)