Sets the mappings for a specific PPJoy device.
Namespace:
PPJoy
Assembly:
PPJoyWrapper (in PPJoyWrapper.dll)
Syntax
Parameters
- lptNum
- Type: System..::.Int32
The LPT number of the device whose mappings will be set to the newly-supplied mappings.
- joystickType
- Type: PPJoy..::.JoystickTypes
The type of device whose mappings will be set to the newly-supplied mappings.
- unitNum
- Type: System..::.Int32
The unit number of the device whose mappings will be set.
- scope
- Type: PPJoy..::.JoystickMapScope
The scope in which to set the new mappings -- either for the device instance itself, or for the device's interface defaults for all devices of the same type that do not override those defaults.
- newMappings
- Type: PPJoy..::.MappingCollection
A MappingCollection object containing the new mappings to associate with this device or interface.
See Also