Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
jherico's avatar
jherico
Adventurer
13 years ago

HID development pitfalls

I just discovered that the HID feature reports that should be read-only aren't. I accidentally trashed my Rift because the sample code for low level HID access on Linux (found here: http://lxr.free-electrons.com/source/samples/hidraw/hid-example.c ) writes to feature ID 9, which is what the Oculus uses for 'DisplayInfo'. I was able to figure this out when I started getting weird behavior on all the devices I plugged the Rift into.

Fortunately, going in and re-writing the feature report with the original values seems to have fixed at least some of my problems, but developers who are trying to bypass or extend the SDK should tread with caution.

11 Replies