The open source OpenXR runtime
at main 45 lines 670 B view raw
1// Copyright 2019-2020, Collabora, Ltd. 2// Copyright 2020, Nova King. 3// SPDX-License-Identifier: BSL-1.0 4/*! 5 * @file 6 * @brief Interface to North Star driver code. 7 * @author Nova King <technobaboo@gmail.com> 8 * @ingroup drv_ns 9 */ 10 11#pragma once 12#include "util/u_json.h" 13#include "xrt/xrt_device.h" 14 15#ifdef __cplusplus 16extern "C" { 17#endif 18 19 20/*! 21 * @defgroup drv_ns North Star driver 22 * @ingroup drv 23 * 24 * @brief Driver for the North Star HMD. 25 */ 26 27/*! 28 * Creates a North Star HMD. 29 * 30 * @ingroup drv_ns 31 */ 32 33struct xrt_device * 34ns_hmd_create(const cJSON *config_json); 35 36/*! 37 * @dir drivers/north_star 38 * 39 * @brief @ref drv_ns files. 40 */ 41 42 43#ifdef __cplusplus 44} 45#endif