···1212#include "xrt/xrt_device.h"
1313#include "os/os_threading.h"
1414#include "util/u_logging.h"
1515+#include "util/u_debug.h"
1516#include "util/u_time.h"
1617#include "util/u_var.h"
1718#include "math/m_imu_3dof.h"
···122123 bool slam_wanted;
123124 bool slam_supported;
124125 bool slam_enabled;
125125- bool hand_wanted;
126126+127127+ //! Has Monado been built with the correct libraries to do optical hand tracking?
126128 bool hand_supported;
129129+130130+ //! Did we find controllers?
131131+ bool controllers_found;
132132+133133+ //! If this is set to ON, we always do optical hand tracking even if controllers were found.
134134+ //! If this is set to AUTO, we do optical hand tracking only if no controllers were found.
135135+ //! If this is set to OFF, we don't do optical hand tracking.
136136+ enum debug_tristate_option hand_wanted;
137137+138138+ //! Computed in target_builder_lighthouse.c based on the past three
127139 bool hand_enabled;
128140};
129141