mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-06 07:06:10 +00:00
a/vive: Support c++ pose info
Co-Authored-By: Gabriele Musco <gabmus@disroot.org>
This commit is contained in:
parent
46109c6d0c
commit
841a459a7b
|
@ -12,6 +12,10 @@
|
||||||
#include "xrt/xrt_defines.h"
|
#include "xrt/xrt_defines.h"
|
||||||
#include "vive_config.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}).
|
* 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_device_type device_type,
|
||||||
enum xrt_input_name input_name,
|
enum xrt_input_name input_name,
|
||||||
struct xrt_pose *out_offset_pose);
|
struct xrt_pose *out_offset_pose);
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue