Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.72 KB

lamparray_getdeviceselector_838466080.md

File metadata and controls

43 lines (28 loc) · 1.72 KB
-api-id -api-type ms.custom
M:Windows.Devices.Lights.LampArray.GetDeviceSelector
winrt method
RS5

Windows.Devices.Lights.LampArray.GetDeviceSelector

-description

Retrieves an Advanced Query Syntax (AQS) string encompassing all LampArray devices on the system.

-returns

An AQS string encompassing all LampArray devices on the system.

-remarks

You can use this string with the DeviceInformation.FindAllAsync method or DeviceWatcher to get DeviceInformation objects for those LampArrays

-examples

:::row::: :::column:::

    [LampArray sample](https://github.com/microsoft/Windows-universal-samples/tree/main/Samples/LampArray)
    
    Demonstrates how to control RGB lighting of peripheral devices using the [**Windows.Devices.Lights**](/uwp/api/windows.devices.lights) and [**Windows.Devices.Lights.Effects**](/uwp/api/windows.devices.lights.effects) APIs.

:::column-end:::
:::column:::

    [AutoRGB Sample](https://github.com/microsoft/Dynamic-Lighting-AutoRGB)
    
    Demonstrates how to extract a single, representative color from a desktop screen and use it to illuminate LED lamps on a connected RGB device.
        
:::column-end:::

:::row-end:::

-see-also

Lighting and Illumination (www.usb.org), Dynamic lighting