|
Monado OpenXR Runtime
|
Main prober code. More...
#include "util/u_var.h"#include "util/u_misc.h"#include "util/u_debug.h"#include "os/os_hid.h"#include "p_prober.h"#include <stdio.h>#include <string.h>
Macros | |
| #define | ENUM_TO_STR(r) case r: return #r |
Functions | |
| int | xrt_prober_create_with_lists (struct xrt_prober **out_xp, struct xrt_prober_entry_lists *lists) |
| Used by the target binary to create the prober with a list of drivers. More... | |
| const char * | xrt_prober_string_to_string (enum xrt_prober_string t) |
| const char * | xrt_bus_type_to_string (enum xrt_bus_type t) |
| bool | xrt_prober_match_string (struct xrt_prober *xp, struct xrt_prober_device *dev, enum xrt_prober_string type, const char *to_match) |
| int | p_dev_get_usb_dev (struct prober *p, uint16_t bus, uint16_t addr, uint16_t vendor_id, uint16_t product_id, struct prober_device **out_pdev) |
| Get or create a prober_device from the device. More... | |
| int | p_dev_get_bluetooth_dev (struct prober *p, uint64_t id, uint16_t vendor_id, uint16_t product_id, struct prober_device **out_pdev) |
| Get or create a prober_device from the device. More... | |
Main prober code.
| int p_dev_get_bluetooth_dev | ( | struct prober * | p, |
| uint64_t | id, | ||
| uint16_t | vendor_id, | ||
| uint16_t | product_id, | ||
| struct prober_device ** | out_pdev | ||
| ) |
Get or create a prober_device from the device.
| int p_dev_get_usb_dev | ( | struct prober * | p, |
| uint16_t | bus, | ||
| uint16_t | addr, | ||
| uint16_t | vendor_id, | ||
| uint16_t | product_id, | ||
| struct prober_device ** | out_pdev | ||
| ) |
Get or create a prober_device from the device.
1.8.13