Click or drag to resize

PlayerControllerHelperMapHelperGetMap Method (ControllerType, Int32, Int32)

Gets a controller map for a specific controller by id assigned to this Player.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public ControllerMap GetMap(
	ControllerType controllerType,
	int controllerId,
	int mapId
)

Parameters

controllerType
Type: RewiredControllerType
Controller type
controllerId
Type: SystemInt32
Controller id - Get this from the Controller.id property. For Keyboard and Mouse, just use 0.
mapId
Type: SystemInt32
Controller map id

Return Value

Type: ControllerMap
Controller Map
See Also