Click or drag to resize

PlayerControllerHelperMapHelperGetMapT Method (Int32, String, String)

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 T GetMap<T>(
	int controllerId,
	string categoryName,
	string layoutName
)
where T : ControllerMap

Parameters

controllerId
Type: SystemInt32
Controller id - Get this from the Controller.id property. For Keyboard and Mouse, just use 0.
categoryName
Type: SystemString
Category name
layoutName
Type: SystemString
Layout name

Type Parameters

T
Controller map type

Return Value

Type: T
Controller Map
See Also