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

# XFrontPanelLight

> XFrontPanelLight

# XFrontPanelLight

Enumerates front panel lights.

<a id="syntaxSection" />

## Syntax

```cpp theme={null}
enum class XFrontPanelLight : uint32_t  
{  
    None = 0x0,  
    Light1 = 0x1,  
    Light2 = 0x2,  
    Light3 = 0x4,  
    Light4 = 0x8,  
    Light5 = 0x10,  
}  
```

<a id="constantsSection" />

## Constants

| Constant | Description   |
| -------- | ------------- |
| None     | No lights on. |
| Light1   | Light 1 on.   |
| Light2   | Light 2 on.   |
| Light3   | Light 3 on.   |
| Light4   | Light 4 on.   |
| Light5   | Light 5 on.   |

<a id="remarksSection" />

## Remarks

The front panel of the XBOX One X dev kit includes five lights that correspond to the five programmable buttons.

<img src="https://mintcdn.com/microsoft-4404708b/-_0FrcE2bDxzGxv-/images/gdk/reference/front_panel_display_small.png?fit=max&auto=format&n=-_0FrcE2bDxzGxv-&q=85&s=8c81bf256714cec6526e83a4cbac5538" alt="Front panel display of the XBOX One X" width="704" height="362" data-path="images/gdk/reference/front_panel_display_small.png" />

This enumeration is used in the [XFrontPanelGetLightStates](/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelgetlightstates) and [XFrontPanelSetLightStates](/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelsetlightstates) functions. You can combine values to address multiple lights simultaneously.

For more information, see [XBOX One X: Using the front panel display (NDA topic)](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/dev-kits/concepts/scorpio-frontpanel).

<a id="requirementsSection" />

## Requirements

**Header:** xfrontpaneldisplay.h

**Supported platforms:** XBOX One family consoles and XBOX Series consoles

<a id="seealsoSection" />

## See also

[XFrontPanelDisplay](/reference/devkit/xfrontpaneldisplay/xfrontpaneldisplay_members)


## Related topics

- [XFrontPanelSetLightStates](/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelsetlightstates.md)
- [XFrontPanelGetLightStates](/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelgetlightstates.md)
- [XFrontPanelDisplay](/reference/devkit/xfrontpaneldisplay/xfrontpaneldisplay_members.md)
- [Front Panel URIs](/reference/deviceportal/frontpanel/atoc-rest-frontpanel.md)
- [XFrontPanelIsSupported](/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelissupported.md)
