Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Boshi's avatar
Boshi
Honored Guest
11 years ago

Simple program for lazy people

For anyone's convenience, I wrote a program that does all the SDK operations for you, and exports it to a memory mapped file. Every normal language can read an MMF, so this should help those who are still stuck, or are waiting for their favorite engine to add support.

What it does:
1) It reads the Rift's rotation values and coordinates from the device OVER AND OVER AGAIN
2) It stores these values into a memory mapped file overwriting the same 18 bytes over and over again.

Your program simply has to read these 18 bytes over and over again, and there you go. I included a "helpful" readme to explain what the 18 bytes are. Let me know if you're still confused.

I also included the source code in case anyone wants to make it better, or better understand it. Let me know if anyone's having problems with it. I only tested it on my machine.

https://www.dropbox.com/s/vvwihd0lugpysqh/oculusPosition.rar?dl=0

It's hardly an ideal solution, but with this program running, your Rift can be compatible with basically anything.