Monado OpenXR Runtime
Macros | Functions

Prober code interfacing to libudev. More...

#include "util/u_misc.h"
#include "p_prober.h"
#include <stdio.h>
#include <string.h>
#include <libudev.h>
#include <inttypes.h>
#include <linux/hidraw.h>
Include dependency graph for p_udev.c:

Macros

#define HIDRAW_BUS_USB   3
 
#define HIDRAW_BUS_BLUETOOTH   5
 
#define HIDRAW_BUS_I2C_MAYBE_QUESTION_MARK   24
 

Functions

int p_udev_probe (struct prober *p)
 

Detailed Description

Prober code interfacing to libudev.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m

Macro Definition Documentation

◆ HIDRAW_BUS_BLUETOOTH

#define HIDRAW_BUS_BLUETOOTH   5

◆ HIDRAW_BUS_I2C_MAYBE_QUESTION_MARK

#define HIDRAW_BUS_I2C_MAYBE_QUESTION_MARK   24

◆ HIDRAW_BUS_USB

#define HIDRAW_BUS_USB   3

Function Documentation

◆ p_udev_probe()

int p_udev_probe ( struct prober p)

References P_ERROR.