GetDeviceMappings Method

PPJoy

Gets a MappingCollection representing the controls mappings associated with a defined PPJoy device.

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

Syntax

Visual Basic (Declaration)
Public Function GetDeviceMappings ( _
	lptNum As Integer, _
	joystickType As JoystickTypes, _
	unitNum As Integer, _
	scope As JoystickMapScope _
) As MappingCollection
C#
public MappingCollection GetDeviceMappings(
	int lptNum,
	JoystickTypes joystickType,
	int unitNum,
	JoystickMapScope scope
)
Visual C++
public:
MappingCollection^ GetDeviceMappings(
	int lptNum, 
	JoystickTypes joystickType, 
	int unitNum, 
	JoystickMapScope scope
)

Parameters

lptNum
Type: System..::.Int32
LPT number of the joystick whose mappings will be returned.
joystickType
Type: PPJoy..::.JoystickTypes
Type of joystick whose mappings will be returned.
unitNum
Type: System..::.Int32
Unit number of the device of the given type whose mappings will be returned.
scope
Type: PPJoy..::.JoystickMapScope
Scope to return mappings from.

Return Value

a MappingCollection object, where each element in the collection represents a single control mapping.

See Also