usb_protocol.types.descriptors.midi2 module
Descriptors for USB MIDI Class Devices
[Midi20] refers to “Universal Serial Bus Device Class Definition for MIDI Devices”, Release 2.0, May 5, 2020
- class usb_protocol.types.descriptors.midi2.MidiStreamingEndpointDescriptorSubtypes(value)[source]
Bases:
IntEnum
An enumeration.
- DESCRIPTOR_UNDEFINED = 0
- MS_GENERAL = 1
- MS_GENERAL_2_0 = 2
- class usb_protocol.types.descriptors.midi2.MidiStreamingInterfaceDescriptorSubtypes(value)[source]
Bases:
IntEnum
An enumeration.
- ELEMENT = 4
- MIDI_IN_JACK = 2
- MIDI_OUT_JACK = 3
- MS_DESCRIPTOR_UNDEFINED = 0
- MS_HEADER = 1
- class usb_protocol.types.descriptors.midi2.MidiStreamingInterfaceDescriptorTypes(value)[source]
Bases:
IntEnum
An enumeration.
- CS_CONFIGURATION = 34
- CS_DEVICE = 33
- CS_ENDPOINT = 37
- CS_GR_TRM_BLOCK = 38
- CS_INTERFACE = 36
- CS_STRING = 35
- CS_UNDEFINED = 32