Skip to main content

ILampArray::SupportsScanCodes

Returns whether a ILampArray supports targeting individual lamps using keyboard scan codes. This will typically apply to ILampArrays whose LampArrayKind is Keyboard.

Syntax

Parameters

This method has no parameters.

Return value

Type: bool Returns true if at least one Lamp is addressable by a keyboard scan code.

Remarks

If an ILampArray supports scan codes, colors on the device can be changed using ILampArray::SetColorsForScanCodes.

Requirements

Header: LampArray.h Library: xgameplatform.lib Supported platforms: XBOX One family consoles and XBOX Series consoles

See also

Lighting API Overview
ILampArray::SetColorsForScanCodes
ILampArray
Last modified on August 20, 2026