> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SupportsScanCodes

> ILampArray::SupportsScanCodes

# ILampArray::SupportsScanCodes

ILampArray がキーボードのスキャン コードを使用した個別の Lamp のターゲット指定をサポートするかどうかを返します。これは通常、[LampArrayKind](https://docs.xbox.com/ja-jp/reference/lighting/lamparray/enums/lamparraykind.md) が Keyboard の ILampArray に適用されます。

## 構文

```cpp theme={null}
bool SupportsScanCodes(
)
```

### パラメーター

このメソッドにはパラメーターがありません。

### 戻り値

Type: bool

少なくとも 1 つの Lamp がキーボードのスキャン コードでアドレス指定可能な場合は true を返します。

## 解説

ILampArray がスキャン コードをサポートしている場合、デバイス上の色は [ILampArray::SetColorsForScanCodes](https://docs.xbox.com/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setcolorsforscancodes.md) を使用して変更できます。

## 要件

**ヘッダー:** LampArray.h

**ライブラリ:** xgameplatform.lib

**サポートされているプラットフォーム:** XBOX One ファミリ本体および XBOX Series 本体

## 関連項目

[Lighting API の概要](https://docs.xbox.com/ja-jp/build/core-features/common/lighting/gc-lighting-toc.md)\
[ILampArray::SetColorsForScanCodes](https://docs.xbox.com/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setcolorsforscancodes.md)\
[ILampArray](https://docs.xbox.com/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/ilamparray.md)


## Related topics

- [GetScanCode](https://docs.xbox.com/ja-jp/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getscancode.md)
- [SetColorsForScanCodes](https://docs.xbox.com/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setcolorsforscancodes.md)
- [ILampArray (インターフェイスの内容)](https://docs.xbox.com/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/ilamparray.md)
- [SetColorsForIndices](https://docs.xbox.com/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setcolorsforindices.md)
- [SetColor](https://docs.xbox.com/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setcolor.md)
