• Creates a device controller for the given device.

    Parameters

    • device: IDevice

    Returns Promise<undefined | IDeviceController>

    A new device controller if the feature is supported by the device. If the device does not support button/LED control undefined is returned.