RemoveDeviceMappings Method
From PPJoy
| PPJoy Wrapper Library reference library |
| DeviceManager..::.RemoveDeviceMappings Method |
| DeviceManager Class See Also |
Removes the mappings from a specific PPJoy device or the default mappings from its interface.
Namespace:
PPJoy
Assembly:
PPJoyWrapper (in PPJoyWrapper.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub RemoveDeviceMappings ( _ lptNum As Integer, _ joystickType As JoystickTypes, _ unitNum As Integer, _ scope As JoystickMapScope _ ) |
| C# |
|---|
public void RemoveDeviceMappings( int lptNum, JoystickTypes joystickType, int unitNum, JoystickMapScope scope ) |
| Visual C++ |
|---|
public: void RemoveDeviceMappings( int lptNum, JoystickTypes joystickType, int unitNum, JoystickMapScope scope ) |
Parameters
- lptNum
- Type: System..::.Int32
The LPT number of the device whose mappings or whose interface's mappings will be removed.
- joystickType
- Type: PPJoy..::.JoystickTypes
The type of the device whose mappings or whose interface's mappings will be removed.
- unitNum
- Type: System..::.Int32
The unit number of the device whose mappings or whose interface's mappings will be removed.
- scope
- Type: PPJoy..::.JoystickMapScope
the scope of the mappings to remove (the device's, or the device's interface's default mappings.