CreateInputMapper
Creates a IGameInputMapper interface that provides the mapping information for a given input element in a input kind.Syntax
Parameters
inputMapper _COM_Outptr_Type: IGameInputMapper** The resulting IGameInputMapper interface that provides the mapping information for a given input element in a input kind.
Return value
Type: HRESULT This function returns an error result if there are insufficient hardware resources to create the mapper or if the device does not support an input kind that can be mapped.Remarks
TheCreateInputMapper method creates a IGameInputMapper interface that provides the mapping information for a given input element in a input kind. The input kinds that generate mappings are GameInputKindArcadeStick, GameInputKindFlightStick, GameInputKindGamepad, and GameInputKindRacingWheel. If the device does not support one of these input kinds, the method returns an error result.
Requirements
Header: GameInput.h Library: gameinput.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesSee also
GameInputIGameInputDevice
