SetMappings Method (JoystickMapScope, MappingCollection)

PPJoy

Associates a set of Mappings (a MappingCollection) with a specific PPJoy Device in a specific JoystickMapScope.

Namespace:  PPJoy
Assembly:  PPJoyWrapper (in PPJoyWrapper.dll)

Syntax

Visual Basic (Declaration)
Public Sub SetMappings ( _
	scope As JoystickMapScope, _
	newMappings As MappingCollection _
)
C#
public void SetMappings(
	JoystickMapScope scope,
	MappingCollection newMappings
)
Visual C++
public:
void SetMappings(
	JoystickMapScope scope, 
	MappingCollection^ newMappings
)

Parameters

scope
Type: PPJoy..::.JoystickMapScope
The JoystickMapScope in which to store the new custom Mappings.
newMappings
Type: PPJoy..::.MappingCollection
A MappingCollection object containing the new Mappings to associate with the specified scope.

See Also