The open source OpenXR runtime
at main 46 lines 739 B view raw
1// Copyright 2020-2021, Collabora, Ltd. 2// Copyright 2022 Jan Schmidt 3// SPDX-License-Identifier: BSL-1.0 4/*! 5 * @file 6 * @brief Interface to rift_s driver. 7 * @author Jan Schmidt <jan@centricular.com> 8 * @ingroup drv_rift_s 9 */ 10 11#pragma once 12 13#include "xrt/xrt_prober.h" 14 15#ifdef __cplusplus 16extern "C" { 17#endif 18 19/*! 20 * @defgroup drv_rift_s Oculus Rift S driver 21 * @ingroup drv 22 * 23 * @brief Driver for the Oculus Rift S and touch controllers 24 * 25 */ 26 27#define OCULUS_VR_INC_VID 0x2833 28#define OCULUS_RIFT_S_PID 0x0051 29 30/*! 31 * Builder setup for Oculus Rift S HMD. 32 * 33 * @ingroup drv_rift_s 34 */ 35struct xrt_builder * 36rift_s_builder_create(void); 37 38/*! 39 * @dir drivers/rift_s 40 * 41 * @brief @ref drv_rift_s files. 42 */ 43 44#ifdef __cplusplus 45} 46#endif