Белешка
Приступ овој страници захтева ауторизацију. Можете покушати да се пријавите или промените директоријуме.
Приступ овој страници захтева ауторизацију. Можете покушати да промените директоријуме.
Retrieves the number of switches on a game controller.
Syntax
uint32_t GetControllerSwitchCount();
Parameters
This method has no parameters.
Return value
Type: uint32_t
Returns the number of switches on a game controller.
Remarks
The IGameInputReading::GetControllerSwitchCount method retrieves the number of switches for a game controller. It also determines the buffers required by the IGameInputReading::GetControllerSwitchState method. For intermediate and advanced use-cases of the GameInput API, see Advanced GameInput topics.
Requirements
Header: GameInput.h
Library: gameinput.lib
Supported platforms: Windows