Packages
gusb
GUsb
Device
context
libusb_device
platform_id
error_quark
Device
add_tag
bulk_transfer
bulk_transfer_async
claim_interface
clear_events
close
control_transfer
control_transfer_async
get_address
get_bos_descriptor
get_bos_descriptors
get_bus
get_children
get_configuration
get_configuration_index
get_created
get_custom_index
get_device_class
get_device_protocol
get_device_subclass
get_events
get_hid_descriptor_default
get_hid_descriptors
get_interface
get_interfaces
get_manufacturer_index
get_parent
get_pid
get_pid_as_str
get_platform_id
get_port_number
get_product_index
get_release
get_serial_number_index
get_spec
get_string_descriptor
get_string_descriptor_bytes
get_string_descriptor_bytes_full
get_tags
get_vid
get_vid_as_str
has_tag
interrupt_transfer
interrupt_transfer_async
invalidate
is_emulated
open
release_interface
remove_tag
reset
set_configuration
set_interface_alt
get_vid
Description:
[
Version
( since =
"0.1.0"
) ]
public
uint16
get_vid
()
Gets the vendor ID for the device.
Parameters:
this
a
Device
Returns:
an ID.