diff options
Diffstat (limited to 'libusb-1.0')
-rw-r--r-- | libusb-1.0/include/libusb.h | 47 | ||||
-rw-r--r-- | libusb-1.0/lib/Win32/Debug/libusb-1.0.dll | bin | 146432 -> 148480 bytes | |||
-rw-r--r-- | libusb-1.0/lib/Win32/Debug/libusb-1.0.lib | bin | 158606 -> 161312 bytes | |||
-rw-r--r-- | libusb-1.0/lib/Win32/Debug/libusb-1.0.pdb | bin | 0 -> 453632 bytes | |||
-rw-r--r-- | libusb-1.0/lib/Win32/Release/libusb-1.0.dll | bin | 92672 -> 94208 bytes | |||
-rw-r--r-- | libusb-1.0/lib/Win32/Release/libusb-1.0.lib | bin | 158606 -> 161312 bytes |
6 files changed, 43 insertions, 4 deletions
diff --git a/libusb-1.0/include/libusb.h b/libusb-1.0/include/libusb.h index d466109..a0ffab8 100644 --- a/libusb-1.0/include/libusb.h +++ b/libusb-1.0/include/libusb.h @@ -155,11 +155,15 @@ enum libusb_class_code { /** Human Interface Device class */ LIBUSB_CLASS_HID = 3, - /** Printer dclass */ + /** Physical */ + LIBUSB_CLASS_PHYSICAL = 5, + + /** Printer class */ LIBUSB_CLASS_PRINTER = 7, - /** Picture transfer protocol class */ - LIBUSB_CLASS_PTP = 6, + /** Image class */ + LIBUSB_CLASS_PTP = 6, /* legacy name from libusb-0.1 usb.h */ + LIBUSB_CLASS_IMAGE = 6, /** Mass storage class */ LIBUSB_CLASS_MASS_STORAGE = 8, @@ -170,6 +174,21 @@ enum libusb_class_code { /** Data class */ LIBUSB_CLASS_DATA = 10, + /** Smart Card */ + LIBUSB_CLASS_SMART_CARD = 0x0b, + + /** Content Security */ + LIBUSB_CLASS_CONTENT_SECURITY = 0x0d, + + /** Video */ + LIBUSB_CLASS_VIDEO = 0x0e, + + /** Personal Healthcare */ + LIBUSB_CLASS_PERSONAL_HEALTHCARE = 0x0f, + + /** Diagnostic Device */ + LIBUSB_CLASS_DIAGNOSTIC_DEVICE = 0xdc, + /** Wireless class */ LIBUSB_CLASS_WIRELESS = 0xe0, @@ -675,6 +694,25 @@ typedef struct libusb_device libusb_device; */ typedef struct libusb_device_handle libusb_device_handle; +/** \ingroup dev + * Speed codes. Indicates the speed at which the device is operating. + */ +enum libusb_speed { + /** The OS doesn't report or know the device speed. */ + LIBUSB_SPEED_UNKNOWN = 0, + + /** The device is operating at low speed (1.5MBit/s). */ + LIBUSB_SPEED_LOW = 1, + + /** The device is operating at full speed (12MBit/s). */ + LIBUSB_SPEED_FULL = 2, + + /** The device is operating at high speed (480MBit/s). */ + LIBUSB_SPEED_HIGH = 3, + + /** The device is operating at super speed (5000MBit/s). */ + LIBUSB_SPEED_SUPER = 4, +}; /** \ingroup misc * Error codes. Most libusb functions return 0 on success or one of these @@ -892,6 +930,7 @@ uint8_t LIBUSB_CALL libusb_get_port_number(libusb_device *dev); libusb_device * LIBUSB_CALL libusb_get_parent(libusb_device *dev); int LIBUSB_CALL libusb_get_port_path(libusb_context *ctx, libusb_device *dev, uint8_t* path, uint8_t path_length); uint8_t LIBUSB_CALL libusb_get_device_address(libusb_device *dev); +enum libusb_speed LIBUSB_CALL libusb_get_device_speed(libusb_device *dev); int LIBUSB_CALL libusb_get_max_packet_size(libusb_device *dev, unsigned char endpoint); int LIBUSB_CALL libusb_get_max_iso_packet_size(libusb_device *dev, @@ -1351,4 +1390,4 @@ void LIBUSB_CALL libusb_set_pollfd_notifiers(libusb_context *ctx, } #endif -#endif +#endif
\ No newline at end of file diff --git a/libusb-1.0/lib/Win32/Debug/libusb-1.0.dll b/libusb-1.0/lib/Win32/Debug/libusb-1.0.dll Binary files differindex 2ae0792..a897c24 100644 --- a/libusb-1.0/lib/Win32/Debug/libusb-1.0.dll +++ b/libusb-1.0/lib/Win32/Debug/libusb-1.0.dll diff --git a/libusb-1.0/lib/Win32/Debug/libusb-1.0.lib b/libusb-1.0/lib/Win32/Debug/libusb-1.0.lib Binary files differindex 3778dda..4b4773f 100644 --- a/libusb-1.0/lib/Win32/Debug/libusb-1.0.lib +++ b/libusb-1.0/lib/Win32/Debug/libusb-1.0.lib diff --git a/libusb-1.0/lib/Win32/Debug/libusb-1.0.pdb b/libusb-1.0/lib/Win32/Debug/libusb-1.0.pdb Binary files differnew file mode 100644 index 0000000..02dc084 --- /dev/null +++ b/libusb-1.0/lib/Win32/Debug/libusb-1.0.pdb diff --git a/libusb-1.0/lib/Win32/Release/libusb-1.0.dll b/libusb-1.0/lib/Win32/Release/libusb-1.0.dll Binary files differindex 944faee..6a3f346 100644 --- a/libusb-1.0/lib/Win32/Release/libusb-1.0.dll +++ b/libusb-1.0/lib/Win32/Release/libusb-1.0.dll diff --git a/libusb-1.0/lib/Win32/Release/libusb-1.0.lib b/libusb-1.0/lib/Win32/Release/libusb-1.0.lib Binary files differindex e502d6d..5f6b31b 100644 --- a/libusb-1.0/lib/Win32/Release/libusb-1.0.lib +++ b/libusb-1.0/lib/Win32/Release/libusb-1.0.lib |