Skip to main content
Inspiring
June 29, 2013

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

    Up and Coming
    November 26, 2013
    It seems that Rift users may experience other pitfalls besides HID issues:
    "
    Original:
    http://www.myextralife.com/comic/unforeseen/
    This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.