Steamworks.SteamController.ActivateActionSet C# (CSharp) Method

ActivateActionSet() public static method

Reconfigure the controller to use the specified action set (ie 'Menu', 'Walk' or 'Drive')

This is cheap, and can be safely called repeatedly. It's often easier to repeatedly call it in

your state loops, instead of trying to place it in all of your state transitions.

public static ActivateActionSet ( ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle ) : void
controllerHandle ControllerHandle_t
actionSetHandle ControllerActionSetHandle_t
return void
		public static void ActivateActionSet(ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle) {
			InteropHelp.TestIfAvailableClient();
			NativeMethods.ISteamController_ActivateActionSet(controllerHandle, actionSetHandle);
		}