Skip to main content

IGameInputMapper::GetGamepadAxisMappingInfo

Syntax

Parameters

axisElement   _In_
Type: GameInputGamepadAxes
The specific gamepad axis whose mapping is being queried. mapping   _Out_
Type: GameInputAxisMapping
The mapping information of how the axis is mapped from the controller axes, buttons or switches.

Return value

Type: bool If the mapping was successfully retrieved. This value is false if the device does not support the GameInputKindGamepad input kind or if the specified axis element is not supported by the device.

Requirements

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

See also

Input API Overview
IGameInputMapper

Version History

Last modified on August 31, 2026