Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
PeripheralBusUSBLibUdev.cpp File Reference
#include "PeripheralBusUSBLibUdev.h"
#include "peripherals/Peripherals.h"
#include <libudev.h>
#include <cassert>
#include <poll.h>
#include "utils/log.h"

Macros

#define USB_CLASS_PER_INTERFACE   0
 
#define USB_CLASS_AUDIO   1
 
#define USB_CLASS_COMM   2
 
#define USB_CLASS_HID   3
 
#define USB_CLASS_PHYSICAL   5
 
#define USB_CLASS_PTP   6
 
#define USB_CLASS_PRINTER   7
 
#define USB_CLASS_MASS_STORAGE   8
 
#define USB_CLASS_HUB   9
 
#define USB_CLASS_DATA   10
 
#define USB_CLASS_APP_SPEC   0xfe
 
#define USB_CLASS_VENDOR_SPEC   0xff
 

Macro Definition Documentation

◆ USB_CLASS_APP_SPEC

#define USB_CLASS_APP_SPEC   0xfe

◆ USB_CLASS_AUDIO

#define USB_CLASS_AUDIO   1

◆ USB_CLASS_COMM

#define USB_CLASS_COMM   2

◆ USB_CLASS_DATA

#define USB_CLASS_DATA   10

◆ USB_CLASS_HID

#define USB_CLASS_HID   3

◆ USB_CLASS_HUB

#define USB_CLASS_HUB   9

◆ USB_CLASS_MASS_STORAGE

#define USB_CLASS_MASS_STORAGE   8

◆ USB_CLASS_PER_INTERFACE

#define USB_CLASS_PER_INTERFACE   0

◆ USB_CLASS_PHYSICAL

#define USB_CLASS_PHYSICAL   5

◆ USB_CLASS_PRINTER

#define USB_CLASS_PRINTER   7

◆ USB_CLASS_PTP

#define USB_CLASS_PTP   6

◆ USB_CLASS_VENDOR_SPEC

#define USB_CLASS_VENDOR_SPEC   0xff