set up a case structure for the different motor outputs (so you can turn them on and off with a true false). Next use the joystick get command, which gives you a cluster of buttons as one of the outputs. Use an Unbundle by Name command to get at the specific buttons. Now, wire them as appropriate to your case structures.
im not sure what part of my answer you were looking for, but i hope i helped
