There is a VI in Begin.vi that says something like “Open 2 Motor Drive” that needs to be changed to “Open 4 Motor Drive”. These VI’s are under “WPI Robotics Library > Drive” (I think). You then need to run 2 more PWM port constants into the VI (there needs to be a PWM constant for Front Left, Front Right, Rear Left, and Rear Right). You also need two more inversion boolean constants to run into the new VI which will tell it which motors to invert (not strictly necessary, should default to “false” and then you can just wire the motors accordingly, but it’s good to specify).
As far as joysticks go, it will be under “WPI Robotics Library > Driver Control?/Driver Station?”. You need an “Open Joystick” VI and the VI which sets the joystick refnum (picture of an arrow pointing to a file icon). You then create a string constant for the “Open Joystick” VI with the name of the joystick (like “Joystick 2” or “Rotation Joystick” or something). You also need to create a constant to tell which USB port to look at. You then wire the refnum cluster from the open VI to the refnum VI. You should also run the error wire through and open a new spot on the error array block (where all the dark green lines run together, drag down the bottom of that block one spot, and run the error wire from the refnum VI to that new spot.
To access this new joystick, you’ll have to use the other joystick refnum VI (next to the other one, arrow pointing away from a file icon), and wire it to a Get Joystick VI. This will have breakout pins for the axis and button clusters. You can open both with an “Open Cluster By Name” block (can’t quite remember what it’s called, but it’s something like that).
Note: I don’t have access to LabView right this moment, this is all from memory, so your milage may vary.