Monado OpenXR Runtime
Loading...
Searching...
No Matches
ar0134.h File Reference

Implementation of ar0134 sensor initialization. More...

#include "xrt/xrt_defines.h"
#include <libusb.h>
Include dependency graph for ar0134.h:

Go to the source code of this file.

Functions

int rift_sensor_ar0134_init (libusb_device_handle *devh, bool usb2_mode)
 Sensor setup after stream start.
 

Detailed Description

Function Documentation

◆ rift_sensor_ar0134_init()

int rift_sensor_ar0134_init ( libusb_device_handle *  devh,
bool  usb2_mode 
)

Sensor setup after stream start.

Parameters
[in]devhlibusb device handle
[in]usb2_modeWhether to configure for USB2 mode
Returns
0 on success, negative error code on failure

References os_nanosleep(), U_LOG_D, U_LOG_E, and U_LOG_W.