Share via


IGameInputMapper::GetRacingWheelAxisMappingInfo

Syntax

bool GetRacingWheelAxisMappingInfo(
    GameInputRacingWheelAxes axisElement,
    GameInputAxisMapping* mapping
);

Parameters

axisElement   _In_
Type: GameInputRacingWheelAxes

The specific racing wheel 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 GameInputKindRacingWheel 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