1. Modules: Device Discovery
1.1. Device Manager
- class StreamDeck.DeviceManager.DeviceManager(transport: str | None = None)
Bases:
objectCentral device manager, to enumerate any attached StreamDeck devices. An instance of this class must be created in order to detect and use any StreamDeck devices.
Creates a new StreamDeck DeviceManager, used to detect attached StreamDeck devices.
- Parameters:
transport (str) – name of the the specific HID transport back-end to use, None to auto-probe.
- enumerate() list[StreamDeck]
Detect attached StreamDeck devices.
- Return type:
list(StreamDeck)
- Returns:
list of
StreamDeckinstances, one for each detected device.
- exception StreamDeck.DeviceManager.ProbeError
Bases:
ExceptionException thrown when attempting to probe for attached StreamDeck devices, but no suitable valid transport was found.