29 xrt_atomic_s64_t next_handle{1};
31 mutable os::Mutex lock;
33 std::unordered_map<std::string, vr::VRActionSetHandle_t> action_set_handles;
34 std::unordered_map<std::string, vr::VRActionHandle_t> action_handles;
35 std::unordered_map<std::string, vr::VRInputValueHandle_t> input_source_handles;
37 vr::ETrackedControllerRole dominant_hand{vr::ETrackedControllerRole::TrackedControllerRole_RightHand};
44 setDominantHand(vr::ETrackedControllerRole dominant_hand);
47 getDominantHand(vr::ETrackedControllerRole &dominant_hand);
51 getActionSetHandle(
const std::string &name, vr::VRActionSetHandle_t &handle);
54 getActionHandle(
const std::string &name, vr::VRActionHandle_t &handle);
57 getInputSourceHandle(
const std::string &name, vr::VRInputValueHandle_t &handle);