Joystick Button

Are you going to answer the questions in reply #7?

I see that one side of the switch is wired to pin 2. Where does the other side of the switch go?