Here’s a video of how an electronic drum would work if you made one.
This one if cool as it’s a “sponge” drum.
I made a “home made Drum” out of a guitar pickup and a string installed within a piece of sponge. I use Reaktor to translate the signal with its amplitube to snare drums. Each punch, with sound a snare drum (not the same snare all the time, it changes after every puch) and it has a the amplitude of the punch. It is very sensitive and there are some great stuff i can do with the reaktor , like setting the dynamic range.