First I'll paint the picture. I have a circuit design to control a motor for an airsoft gearbox here:
http://openairsoft.net/stuff/SW-AB-LONG-SCH.pngThis works as intended however I have a need to replace the current switch mechanism inside the gearbox. In semi auto mode, as the trigger switch is closed a lever connected to the gear train kicks the closed switch open after one cycle of the gearbox and therefore kills power to the motor. I'm looking to replace this switch mechanism with a PCB containing SMD switches like in this video:
They achieve control through the use of a PIC microcontroller, I'd like to replace that micro with something a lot simpler and a lot cheaper. Basically I'm looking for a device that has 2 inputs and 1 output. Input 1 (Trigger) causes the output to go high and when input 2 (cut off) is momentarily high the output changes state to low and stays low until input 1 cycles from low to high again.
Someone pointed me in the direction of basic flip-flops but I can't get them to do my bidding. I hope I've explained things clearly :$. The answer is probably very simple but I'm too blind to see it.