This is a preview version of the DisplayLink DL-7450 Software Development Kit Documentation. The functionality that is described and made available in this version is subject to addition, removal or change without warning.

usb — USB Peripheral Management

Functions

usb.find()

Obtain a list of currently connected USB devices. The return value is a list of 3-tuples, where each tuple is the Vendor ID, Product ID and a readable name. For example:

import usb
from splashscreen import Splashscreen

info = DockInfo()
screen = Splashscreen()

text = [
    f"{vid:04x}:{pid:04x} {name}" for vid, pid, name in usb.find()
]

screen.add_text_box(text)