







Creates a new VirtualJoystick instance.
Namespace:
PPJoy
Assembly:
PPJoyWrapper (in PPJoyWrapper.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub New |
C# |
---|
public VirtualJoystick() |
Visual C++ |
---|
public: VirtualJoystick() |
Remarks
If you use this "default" constructor, you will need to set
the VirtualStickNumber
property manually. The default constructor is supplied so that non-.NET
(COM) clients can use this wrapper class, since COM requires
classes to have a default constructor. If you don't set
the VirtualStickNumber property manually,
the virtual stick number defaults to PPJoy Virtual Joystick #1.