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// SPDX-License-Identifier: BSL-1.0
5/*!
6 * @file
7 * @brief Implementation of ar0134 sensor initialization
8 * @author Philipp Zabel <philipp.zabel@gmail.com>
9 * @author Jan Schmidt <jan@centricular.com>
10 * @author Beyley Cardellio <ep1cm1n10n123@gmail.com>
11 * @ingroup drv_rift_sensor
12 */
13
14#pragma once
15
16#include "xrt/xrt_defines.h"
17
18#include <libusb.h>
19
20
21/*!
22 * Sensor setup after stream start
23 *
24 * @param[in] devh libusb device handle
25 * @param[in] usb2_mode Whether to configure for USB2 mode
26 * @return 0 on success, negative error code on failure
27 */
28int
29rift_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.