IGameInputReading::GetControllerAxisCount
Retrieves the number of axes on a game controller.
Syntax
uint32_t GetControllerAxisCount(
)
Parameters
Return value
Type: uint32_t
Returns the number of axes on the game controller.
Remarks
The IGameInputReading::GetControllerAxisCount
method determines the buffers needed for the IGameInputReading::GetControllerAxisState method. GetControllerAxisCount
retrieves axis, button, and switch state from a game controller. Each state is returned as a separate variable-length array into buffers provided by the caller. The number of valid buffer entries upon return is indicated by the return value.
Requirements
Header: GameInput.h
Library: xgameruntime.lib
Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles
See also
Advanced GameInput topics
Overview of GameInput
IGameInputReading