MaxValidUnitNumber Method

PPJoy

Gets the maximum valid unit number for a given joystick type.

Namespace:  PPJoy
Assembly:  PPJoyWrapper (in PPJoyWrapper.dll)

Syntax

Visual Basic (Declaration)
Public Function MaxValidUnitNumber ( _
	joystickType As JoystickTypes _
) As Integer
C#
public int MaxValidUnitNumber(
	JoystickTypes joystickType
)
Visual C++
public:
int MaxValidUnitNumber(
	JoystickTypes joystickType
)

Parameters

joystickType
Type: PPJoy..::.JoystickTypes
Joystick type to determine the maximum valid unit number for.

Return Value

The maximum valid unit number for the specified joystick type.

See Also