GetDeviceMappings Method
From PPJoy
| PPJoy Wrapper Library reference library |
| DeviceManager..::.GetDeviceMappings Method |
| DeviceManager Class See Also |
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.