Monado OpenXR Runtime
xrt_prober_entry Struct Reference

Entry for a single device. More...

#include <xrt/xrt_prober.h>

Collaboration diagram for xrt_prober_entry:

Data Fields

uint16_t vendor_id
 USB/Bluetooth vendor ID (VID) to filter on. More...
 
uint16_t product_id
 USB/Bluetooth product ID (PID) to filter on. More...
 
xrt_prober_found_func_t found
 Handler that gets called when a device matching vendor and product ID is detected. More...
 
const char * name
 A human-readable name for the device associated with this VID/PID. More...
 
const char * driver_name
 A human-readable name for the driver associated with this VID/PID. More...
 

Detailed Description

Entry for a single device.

Field Documentation

◆ driver_name

const char* xrt_prober_entry::driver_name

A human-readable name for the driver associated with this VID/PID.

Separate because a single driver might handle multiple VID/PID entries.

◆ found

xrt_prober_found_func_t xrt_prober_entry::found

Handler that gets called when a device matching vendor and product ID is detected.

See also
xrt_prober_found_func_t

◆ name

◆ product_id

uint16_t xrt_prober_entry::product_id

USB/Bluetooth product ID (PID) to filter on.

◆ vendor_id

uint16_t xrt_prober_entry::vendor_id

USB/Bluetooth vendor ID (VID) to filter on.


The documentation for this struct was generated from the following file: