Update monado

This commit is contained in:
Patrick Nicolas
2024-10-08 23:16:50 +02:00
parent 5f59dfb589
commit b54108bb4c
6 changed files with 36 additions and 40 deletions
+5 -6
View File
@@ -40,7 +40,11 @@ namespace wivrn
static void wivrn_hmd_destroy(xrt_device * xdev);
static void wivrn_hmd_update_inputs(xrt_device * xdev);
static xrt_result_t wivrn_hmd_update_inputs(xrt_device * xdev)
{
static_cast<wivrn_hmd *>(xdev)->update_inputs();
return XRT_SUCCESS;
}
static void wivrn_hmd_get_tracked_pose(xrt_device * xdev,
xrt_input_name name,
@@ -410,11 +414,6 @@ static void wivrn_hmd_destroy(xrt_device * xdev)
static_cast<wivrn_hmd *>(xdev)->unregister();
}
static void wivrn_hmd_update_inputs(xrt_device * xdev)
{
static_cast<wivrn_hmd *>(xdev)->update_inputs();
}
static void wivrn_hmd_get_tracked_pose(xrt_device * xdev,
xrt_input_name name,
int64_t at_timestamp_ns,