Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Retrieves the number of keys active on a keyboard.
Syntax
uint32_t GetKeyCount(
)
Parameters
This method has no parameters.
Return value
Type: uint32_t
This returns the number of keys active on a game controller.
Remarks
The IGameInputReading::GetKeyCount
method retrieves the number of keys active on a game controller. It is used to determine the number of arrays needed for IGameInputReading::GetKeyState method. For intermediate and advanced use-cases of the GameInput API, see Advanced GameInput topics.
Requirements
Header: GameInput.h
Library: xgameruntime.lib
Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles