Team 358 has a whole bunch of useful examples for a team like you. The
Single Motor Example shows how to use a joystick to control a motor. Use the Begin.vi part of that example, and replace the Teleop.vi part with what's in the
Button Control of Motor Example a couple of spots down the page.