> ## 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.

# XFrontPanelLight

> XFrontPanelLight

Enumerates front panel lights.

## Syntax

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

## 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. |

## Remarks

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

![Front panel display of the XBOX One X](https://mintcdn.com/microsoft-4404708b/-_0FrcE2bDxzGxv-/images/gdk/reference/front_panel_display_small.png?fit=max\&auto=format\&n=-_0FrcE2bDxzGxv-\&q=85\&s=8c81bf256714cec6526e83a4cbac5538)

This enumeration is used in the [XFrontPanelGetLightStates](https://docs.xbox.com/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelgetlightstates.md) and [XFrontPanelSetLightStates](https://docs.xbox.com/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelsetlightstates.md) 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).

## Requirements

**Header:** xfrontpaneldisplay.h

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

## See also

[XFrontPanelDisplay](https://docs.xbox.com/reference/devkit/xfrontpaneldisplay/xfrontpaneldisplay_members.md)


## Related topics

- [XFrontPanelSetLightStates](https://docs.xbox.com/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelsetlightstates.md)
- [XFrontPanelGetLightStates](https://docs.xbox.com/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelgetlightstates.md)
- [XFrontPanelDisplay (API contents)](https://docs.xbox.com/reference/devkit/xfrontpaneldisplay/xfrontpaneldisplay_members.md)
- [XFrontPanelIsSupported](https://docs.xbox.com/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelissupported.md)
- [XFrontPanelButton](https://docs.xbox.com/reference/devkit/xfrontpaneldisplay/enums/xfrontpanelbutton.md)
