Generally, using a gun to turn your lights off is dangerous and expensive, but for the [DuctTape Mechanic], it’s just how he does things. Video also after the break. To be fair, he uses a salvaged Nintendo Zapper, not a firearm, and replaces the guts with an RF transmitter. We are shocked that he chose a radio model instead of infrared seeing as how he is repurposing a light gun, but our scores in Duck Hunt suggest he made the right choice.
The transmitter comes from a keychain remote, so it all fits neatly inside the Zapper chassis. A couple of wires hijack the stock button and run to the stock trigger, so you keep that authentic feel. The receiver side is a bit trickier. When it senses a button press, it sends a pulse, as you would find in a garage door opener, but to keep a lamp on, there needs to be some latching and so there is an Arduino. The microcontroller keeps a tally and operates a 10 amp relay module, so it is mostly acting as the glue between hardware. All of the mains electrical components sit in a blue plastic box with a receptacle on the front.