When are the function callbacks processed in the VR Juggler event loop for digital, analog, and KBM events? I realize for the realtime setting they would be processed as they are generated but what about for the gadget::event::synchronized_tag setting? If you could point me to the location in the code where this happens that would be great too. Thanks for the help.
Doug
> Hey Patrick,
>
> When are the function callbacks processed in the VR Juggler event loop for digital, analog, and KBM events? I realize for the realtime setting they would be processed as they are generated but what about for the gadget::event::synchronized_tag setting? If you could point me to the location in the code where this happens that would be great too. Thanks for the help.
There is a class called gadget::EventEmitter that is responsible for that. The gadget::InputManager singleton owns it, and synchronized event emission happens in gadget::InputManager::updateAllDevices(). See line 605 of modules/gadgeteer/gadget/InputManager.cpp.
-Patrick
--
Patrick L. Hartling
Senior Software Engineer, Priority 5
http://www.priority5.com/