mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 19:16:21 +00:00
xrt: Add XRT_DEVICE_VIVE_TRACKER_{GEN3,TUNDRA} defines
Tundra enumeration changes
This commit is contained in:
parent
6a01170b23
commit
5787fd260f
|
@ -612,6 +612,8 @@ enum xrt_device_name
|
|||
XRT_DEVICE_VIVE_WAND,
|
||||
XRT_DEVICE_VIVE_TRACKER_GEN1,
|
||||
XRT_DEVICE_VIVE_TRACKER_GEN2,
|
||||
XRT_DEVICE_VIVE_TRACKER_GEN3,
|
||||
XRT_DEVICE_VIVE_TRACKER_TUNDRA,
|
||||
|
||||
// "Controllers" somewhat sorted as listed in spec.
|
||||
XRT_DEVICE_SIMPLE_CONTROLLER,
|
||||
|
|
|
@ -346,7 +346,9 @@ get_profile_for_device_name(struct oxr_logger *log,
|
|||
case XRT_DEVICE_REALSENSE:
|
||||
case XRT_DEVICE_HAND_TRACKER:
|
||||
case XRT_DEVICE_VIVE_TRACKER_GEN1:
|
||||
case XRT_DEVICE_VIVE_TRACKER_GEN2: return;
|
||||
case XRT_DEVICE_VIVE_TRACKER_GEN2:
|
||||
case XRT_DEVICE_VIVE_TRACKER_GEN3:
|
||||
case XRT_DEVICE_VIVE_TRACKER_TUNDRA: return;
|
||||
}
|
||||
|
||||
#undef FIND_PROFILE
|
||||
|
|
|
@ -408,7 +408,9 @@ public:
|
|||
break;
|
||||
case XRT_DEVICE_VIVE_WAND: m_render_model = "vr_controller_vive_1_5"; break;
|
||||
case XRT_DEVICE_VIVE_TRACKER_GEN1:
|
||||
case XRT_DEVICE_VIVE_TRACKER_GEN2: m_render_model = "{htc}vr_tracker_vive_1_0"; break;
|
||||
case XRT_DEVICE_VIVE_TRACKER_GEN2:
|
||||
case XRT_DEVICE_VIVE_TRACKER_GEN3:
|
||||
case XRT_DEVICE_VIVE_TRACKER_TUNDRA: m_render_model = "{htc}vr_tracker_vive_1_0"; break;
|
||||
case XRT_DEVICE_PSMV:
|
||||
case XRT_DEVICE_HYDRA:
|
||||
case XRT_DEVICE_DAYDREAM:
|
||||
|
@ -617,11 +619,13 @@ public:
|
|||
AddOutputControl(XRT_OUTPUT_NAME_PSMV_RUMBLE_VIBRATION, "/output/haptic");
|
||||
} break;
|
||||
|
||||
case XRT_DEVICE_TOUCH_CONTROLLER: break; // TODO
|
||||
case XRT_DEVICE_WMR_CONTROLLER: break; // TODO
|
||||
case XRT_DEVICE_XBOX_CONTROLLER: break; // TODO
|
||||
case XRT_DEVICE_VIVE_TRACKER_GEN1: break; // TODO
|
||||
case XRT_DEVICE_VIVE_TRACKER_GEN2: break; // TODO
|
||||
case XRT_DEVICE_TOUCH_CONTROLLER: break; // TODO
|
||||
case XRT_DEVICE_WMR_CONTROLLER: break; // TODO
|
||||
case XRT_DEVICE_XBOX_CONTROLLER: break; // TODO
|
||||
case XRT_DEVICE_VIVE_TRACKER_GEN1: break; // TODO
|
||||
case XRT_DEVICE_VIVE_TRACKER_GEN2: break; // TODO
|
||||
case XRT_DEVICE_VIVE_TRACKER_GEN3: break; // TODO
|
||||
case XRT_DEVICE_VIVE_TRACKER_TUNDRA: break; // TODO
|
||||
case XRT_DEVICE_REALSENSE: break;
|
||||
case XRT_DEVICE_DEPTHAI: break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue