I'm trying to wire a photo interrupter to 2 wires that I soldered to 2 opposite ends of a button circuit on a game controller. The reason I'm doing this is because I want to use the photo interrupter as a coin slot for my arcade machine. So instead of pressing a button, a coin is passed through the photo interrupter, thus closing the circuit. The photo interrupter has 4 pins but I'm trying to wire it to only 2 wires. What should I do? Thanks for your help.