<vizjoy>.add

Add a joystick

 

<vizjoy>.add()

 

Remarks

This command will return the next available joystick. If no joysticks are available, an invalid joystick will be returned.

Return Value

Joystick object

Example

#Import vizjoy module
import vizjoy

#Add a joystick
joystick = vizjoy.add()