Skip to main content
New Participant
April 25, 2013

MessageHandler and message order

Did you guys play around with the MessageHandler yet, maybe have implemented your own?

My understanding so far is, that with a MessageHandler, one is able to intercept events such as the device being added and / or removed from the system.

I'm curious about the content and order of appearance OVR::MessageDeviceStatus. Assuming you have installed a filter on OVR::DeviceManager, do two separate messages arrive, one for the sensor and one for the HMD? If so, in which order to they arrive? If not, which message does arrive, if any? I'm also curious about the reverse, e.g. removing the rift from the system and the messages which arrive under those circumstances.

If some of you would like to help me find this out (my devkit has not arrived yet), then I'll write a small sample which should track the order and occurence of those messages, so you can run it.

    2 replies

    Up and Coming
    April 26, 2013
    The sensor and display have two separate cables. I'm going to go out on a limb and say you get the messages in the order they are connected/disconnected.
    Palmer on the openness of the Rift: http://www.reddit.com/r/oculus/comments/21cy9n/the_future_of_vr/cgc06b2?context=3 All of Palmer's Reddit posts: http://www.reddit.com/user/palmerluckey
    New Participant
    April 26, 2013
    I totally forgot that. Yes, that would make sense. It think i I'll operate under this assumption for now, seems reasonable.