a/vive: Support c++ pose info

Co-Authored-By: Gabriele Musco <gabmus@disroot.org>
This commit is contained in:
BabbleBones 2023-08-13 01:01:42 -04:00 committed by Jakob Bornecrantz
parent 46109c6d0c
commit 841a459a7b

View file

@ -12,6 +12,10 @@
#include "xrt/xrt_defines.h"
#include "vive_config.h"
#ifdef __cplusplus
extern "C" {
#endif
/*!
* Returns the offset from a controller's IMU to the aim pose, grip pose or wrist pose (P_imu_{aim,grip,wrist}).
*
@ -24,3 +28,8 @@ vive_poses_get_pose_offset(enum xrt_device_name device_name,
enum xrt_device_type device_type,
enum xrt_input_name input_name,
struct xrt_pose *out_offset_pose);
#ifdef __cplusplus
}
#endif