It is also against federal law to connect an electrical device to a weapons trigger, it is called building a machine gun.
There, fixed.