Use method_pointer for function pointer initialisation in eye tracker

This commit is contained in:
Sapphire
2025-06-28 10:29:46 +02:00
committed by xytovl
parent 6377f21b99
commit 795d88d9dc
2 changed files with 14 additions and 38 deletions
+4 -2
View File
@@ -38,10 +38,12 @@ class wivrn_eye_tracker : public xrt_device
pose_list gaze;
public:
using base = xrt_device;
wivrn_eye_tracker(xrt_device * hmd);
void update_inputs();
xrt_result_t update_inputs();
void update_tracking(const from_headset::tracking &, const clock_offset &);
xrt_space_relation get_tracked_pose(xrt_input_name name, int64_t at_timestamp_ns);
xrt_result_t get_tracked_pose(xrt_input_name name, int64_t at_timestamp_ns, xrt_space_relation * out_relation);
};
} // namespace wivrn