1. Modules: Device Discovery

1.1. Device Manager

class StreamDeck.DeviceManager.DeviceManager(transport=None)

Bases: object

Central 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()

Detect attached StreamDeck devices.

Return type:

list(StreamDeck)

Returns:

list of StreamDeck instances, one for each detected device.

exception StreamDeck.DeviceManager.ProbeError

Bases: Exception

Exception thrown when attempting to probe for attached StreamDeck devices, but no suitable valid transport was found.