GetMappings Method (JoystickMapScope)

PPJoy

Gets a MappingCollection representing the controls defined on this Device, or representing the controls defined in this Device's interface.

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

Syntax

Visual Basic (Declaration)
Public Function GetMappings ( _
	scope As JoystickMapScope _
) As MappingCollection
C#
public MappingCollection GetMappings(
	JoystickMapScope scope
)
Visual C++
public:
MappingCollection^ GetMappings(
	JoystickMapScope scope
)

Parameters

scope
Type: PPJoy..::.JoystickMapScope
Scope from which to retrive the MappingCollection.

Return Value

If the scope argument is set to Interface, then this method returns a MappingCollection object representing the controls defined in this Device's interface.

If the scope argument is set to Device, then this method returns a MappingCollection object representing the controls defined directly on this Device itself.

See Also