enums

Converted/butchered LIBUSB header to a D-Language interface

Members

Aliases

libusb_hotplug_event
alias libusb_hotplug_event = LIBUSB_HOTPLUG_EVENTS
Undocumented in source.
libusb_hotplug_flag
alias libusb_hotplug_flag = LIBUSB_HOTPLUG_ENUM
Undocumented in source.

Enums

LIBUSB_HOTPLUG_ENUM
enum LIBUSB_HOTPLUG_ENUM

Flags for hotplug events

LIBUSB_HOTPLUG_EVENTS
enum LIBUSB_HOTPLUG_EVENTS

Hotplug events

libusb_bos_type
enum libusb_bos_type

USB capability types

libusb_capability
enum libusb_capability

Capabilities supported by an instance of libusb on the current running platform. Test if the loaded library supports a given capability by calling libusb_has_capability().

libusb_class_code
enum libusb_class_code

Device and/or Interface Class codes

libusb_descriptor_type
enum libusb_descriptor_type

Descriptor types as defined by the USB specification.

libusb_endpoint_direction
enum libusb_endpoint_direction

Endpoint direction. Values for bit 7 of the

libusb_error
enum libusb_error

Error codes. Most libusbx functions return 0 on success or one of these codes on failure.

libusb_iso_sync_type
enum libusb_iso_sync_type

Synchronization type for isochronous endpoints. Values for bits 2:3 of the

libusb_iso_usage_type
enum libusb_iso_usage_type

Usage type for isochronous endpoints. Values for bits 4:5 of the

libusb_log_level
enum libusb_log_level

Log message levels.

libusb_request_recipient
enum libusb_request_recipient

* Recipient bits of the * libusb_control_setup::bmRequestType "bmRequestType" field in control * transfers. Values 4 through 31 are reserved.

libusb_request_type
enum libusb_request_type

Request type bits of the libusb_control_setup::bmRequestType "bmRequestType" field in control transfers.

libusb_speed
enum libusb_speed

Speed codes. Indicates the speed at which the device is operating.

libusb_ss_usb_device_capability_attributes
enum libusb_ss_usb_device_capability_attributes

Masks for the bits of the

libusb_standard_request
enum libusb_standard_request

Standard requests, as defined in table 9-5 of the USB 3.0 specifications

libusb_supported_speed
enum libusb_supported_speed

Supported speeds (wSpeedSupported) bitfield. Indicates what speeds the device supports.

libusb_transfer_flags
enum libusb_transfer_flags

* libusb_transfer.flags values

libusb_transfer_status
enum libusb_transfer_status

* Transfer status codes

libusb_transfer_type
enum libusb_transfer_type

Endpoint transfer type. Values for bits 0:1 of the

libusb_usb_2_0_extension_attributes
enum libusb_usb_2_0_extension_attributes

Masks for the bits of the libusb_usb_2_0_extension_descriptor::bmAttributes "bmAttributes" field of the USB 2.0 Extension descriptor.

See Also

http://www.libusb.org

Notes: Libusb itself is Copyright

  • 2001 Johannes Erdfelt <johannes@erdfelt.com>
  • 2007-2008 Daniel Drake <dsd@gentoo.org>
  • 2012 Pete Batard <pete@akeo.ie>
  • 2012 Nathan Hjelm <hjelmn@cs.unm.edu>

Meta

Authors

Ross Lonstein <lonstein@brightboxcharge.com>