And rather than port everything over exactly the same way, I'm trying to make a more C#-developer-friendly version. And part of that is reducing the number of layers of abstraction that aren't necessary when you're only targeting the .NET platform.
What I'm currently struggling with is the HID interface. There are a lot of pieces to this with a lot of inheritance, and I can't keep them all in my head at the same time. I have an open-source library for working with HID in C#, and I've been able to query the devices and identify the Rift sensors.
What I basically need to know is, how do I communicate with the thing?
1) I can see that there's a keep-alive that needs to be sent regularly -- is the SDK doing this on a background thread?
2) There seems to be a message-handling callback. Does the device send updates regularly on its own, or do I need to poll for them? Are the responses asynchronous?
I'm sure I'll have more detailed questions as I get more familiar with it. Thanks in advance. 🙂