mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-03-03 05:06:31 +00:00
xrt: Add tracking system type for Hydra
This commit is contained in:
parent
23bd6a4377
commit
7fb0af90de
src/xrt
|
@ -659,7 +659,7 @@ hydra_found(struct xrt_prober *xp,
|
|||
|
||||
// Create the system
|
||||
struct hydra_system *hs = U_TYPED_CALLOC(struct hydra_system);
|
||||
hs->base.type = XRT_TRACKING_TYPE_NONE; // ??
|
||||
hs->base.type = XRT_TRACKING_TYPE_HYDRA;
|
||||
snprintf(hs->base.name, XRT_TRACKING_NAME_LEN, "%s",
|
||||
"Razer Hydra magnetic tracking");
|
||||
// Dummy transform from local space to base.
|
||||
|
|
|
@ -48,6 +48,9 @@ enum xrt_tracking_type
|
|||
|
||||
// The device(s) are tracked by Ligthhouse
|
||||
XRT_TRACKING_TYPE_LIGHTHOUSE,
|
||||
|
||||
// The device(s) are tracked by Hydra
|
||||
XRT_TRACKING_TYPE_HYDRA
|
||||
};
|
||||
|
||||
/*!
|
||||
|
|
Loading…
Reference in a new issue