Gets the current state of the front panel buttons on an Xbox One X dev kit.
public:
HRESULT GetButtonStates(
XBOX_FRONT_PANEL_BUTTONS *buttons
)
buttons
Type: XBOX_FRONT_PANEL_BUTTONSÂ *
[out] Pointer to a value indicating the current state of the front panel buttons. See the XBOX_FRONT_PANEL_BUTTONS topic for valid values.
Type: HRESULTÂ
Returns S_OK if successful, or an error code otherwise.
This method must be polled periodically to retrieve state changes for buttons.
Header: Declared in xboxfrontpanel.h.
Library: Use xboxfrontpanel.lib.