Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Retrieves the number of axes on a game controller.
Syntax
uint32_t GetControllerAxisCount();
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: gameinput.lib
Supported platforms: Windows
See also
Advanced GameInput topics Overview of GameInput IGameInputReading