Skip to main content

GameInputControllerInfo

Describes the properties of a controller.

Syntax

Members

controllerAxisCount
Type: uint32_t
The number of axes on the controller. controllerAxisLabels
Type: GameInputLabel const *
The labels for the axes on the controller. controllerButtonCount
Type: uint32_t
The number of buttons on the controller. controllerButtonLabels
Type: GameInputLabel const *
The labels for the buttons on the controller. controllerSwitchCount
Type: uint32_t
The number of switches on the controller. controllerSwitchInfo
Type: GameInputControllerSwitchInfo const *
Information about the switches on the controller.

Remarks

The fields in the GameInputControllerInfo structure that are pointers to variable-sized arrays of information about the controller. NULL pointers indicate that the corresponding feature is not available or supported by the controller. The number of elements in each array is indicated by a corresponding field in the structure (as noted in the SAL annotations). TThis structure is used in the GameInputDeviceInfo structure. GameInputDeviceInfo is used by the IGameInputDevice::GetDeviceInfo method. For more information, see GameInput devices.

Requirements

Header: GameInput.h Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles

See Also

Overview of GameInput
GameInput

Version History

Last modified on August 31, 2026