Sets action map for a user.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public static void SetActionMap(
	XInputActionMap map,
	string userName
)

Parameters

map
Type: SGP.XSpace..::.XInputActionMap
Action map.
userName
Type: System..::.String
User name.

Remarks

Sets the action map for devices (keys, buttons, sensors etc.) for a user. If the user has already set the map (it is distinguished by the GUID) in the past, that map is loaded.

Exceptions

ExceptionCondition
System..::.ArgumentNullException map is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also