Stepper Motor Control with Arcade Joystick

about the programming. i will do it for you later. for the connection part its just
gnd to resistor leg one then the other leg to NO.The C should be to 5V the middle connection between the resistor and the switch need to have a wire to the port you want to use.
resistor switch
gnd---///--------/-------5V
_________ |
port # |---|

hope you understand this ascii art.