29 #include <vrpn_Analog.h>
30 #include <vrpn_Tracker.h>
32 #ifdef BRAYNSVRPN_USE_LIBUV
55 #ifdef BRAYNSVRPN_USE_LIBUV
56 void resumeRenderingIfTrackerIsActive();
60 std::unique_ptr<vrpn_Tracker_Remote> _vrpnTracker;
61 std::unique_ptr<vrpn_Analog_Remote> _vrpnAnalog;
62 const std::string _vrpnName;
66 #ifdef BRAYNSVRPN_USE_LIBUV
69 void operator()(uv_timer_t* timer)
72 uv_close(
reinterpret_cast<uv_handle_t*
>(timer), [](uv_handle_t* handle) {
delete handle; });
75 std::unique_ptr<uv_timer_t, LibuvDeleter> _idleTimer;
77 void _setupIdleTimer();
VRPNPlugin(const std::string &vrpnName)
glm::quat flyStickOrientation