Monado OpenXR Runtime
Loading...
Searching...
No Matches
ar0134.h
Go to the documentation of this file.
1// Copyright 2017, Philipp Zabel
2// Copyright 2019-2025, Jan Schmidt
3// Copyright 2025-2026, Beyley Cardellio
4// Copyright 2026, NVIDIA CORPORATION.
5// SPDX-License-Identifier: BSL-1.0
6/*!
7 * @file
8 * @brief Implementation of ar0134 sensor initialization
9 * @author Philipp Zabel <philipp.zabel@gmail.com>
10 * @author Jan Schmidt <jan@centricular.com>
11 * @author Beyley Cardellio <ep1cm1n10n123@gmail.com>
12 * @ingroup drv_rift_sensor
13 */
14
15#pragma once
16
17#include "xrt/xrt_defines.h"
18
19#include <libusb.h>
20
21
22/*!
23 * Sensor setup after stream start
24 *
25 * @param[in] devh libusb device handle
26 * @param[in] usb2_mode Whether to configure for USB2 mode
27 * @return 0 on success, negative error code on failure
28 */
29int
30rift_sensor_ar0134_init(libusb_device_handle *devh, bool usb2_mode);
int rift_sensor_ar0134_init(libusb_device_handle *devh, bool usb2_mode)
Sensor setup after stream start.
Definition ar0134.c:84
Common defines and enums for XRT.