







|
| PPJoy Wrapper Library reference library |
| DeviceManager..::.CreateDevice Method |
| DeviceManager Class See Also |
Creates and registers a new joystick Device with PPJoy.
Namespace:
PPJoy
Assembly:
PPJoyWrapper (in PPJoyWrapper.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub CreateDevice ( _ lptNum As Integer, _ joystickType As JoystickTypes, _ subType As JoystickSubTypes, _ unitNum As Integer _ ) |
| C# |
|---|
public void CreateDevice( int lptNum, JoystickTypes joystickType, JoystickSubTypes subType, int unitNum ) |
| Visual C++ |
|---|
public: void CreateDevice( int lptNum, JoystickTypes joystickType, JoystickSubTypes subType, int unitNum ) |
Parameters
- lptNum
- Type: System..::.Int32
LPT number of the Device to create/register.
- joystickType
- Type: PPJoy..::.JoystickTypes
JoystickType of the Device to create/register.
- subType
- Type: PPJoy..::.JoystickSubTypes
JoystickSubType of the Device to create/register.
- unitNum
- Type: System..::.Int32
Unit number of the Device to create/register.
