When using the x360 controller, pressing the single button acts as pressing the strum bar AND the corresponding fret button.
Generally, the whammy is either analog stick (you could wire that to a guitar too I suppose).
And yes, to hit the long notes you would hold the pick on the string, and it would continue the note. Just as if using the controller.