Skip to main content
Retrieves button state information from a game controller.

Syntax

Parameters

stateArrayCount   _In_
Type: uint32_t
Expected count of buttons on a game controller. This number can be retrieved by calling IGameInputReading::GetControllerButtonCount Input API Overview
IGameInputReading

Version History

Last modified on October 29, 2026