Observação
O acesso a essa página exige autorização. Você pode tentar entrar ou alterar diretórios.
O acesso a essa página exige autorização. Você pode tentar alterar os diretórios.
Gets the states of the front panel buttons.
Syntax
HRESULT XFrontPanelGetButtonStates(
XFrontPanelButton* buttons
)
Parameters
buttons _Out_
Type: XFrontPanelButton*
Pointer to a value indicating the current states of the front panel buttons.
Return value
Type: HRESULT
Returns S_OK if successful; otherwise, returns an error code.
Remarks
The front panel of the Xbox One X dev kit includes five programmable buttons and a directional button that works like a 5-way D-pad.

The buttons parameter points to a XFrontPanelButton object that indicates the state of each button.
For more information, see Xbox One X: Using the front panel display (NDA topic)Autorização obrigatória.
Requirements
Header: xfrontpaneldisplay.h
Library: xfrontpaneldisplay.lib
Supported platforms: Xbox One family consoles and Xbox Series consoles