I made something similar using a cheap pedometer. The pedometer had a small lever inside with a weight at the end attached to a loose spring so that it would connect the circuit momentarily each time you took a step (or shook it) it is a simple on/off mechanism though so if you are looking for variable resistance for a pitch bend I'm not sure it would work.

I'm currently having a great time with a Kawasaki I-Soundz Drum kit, I built a trigger sequencer to turn it into a drum machine which has been lots of fun. Haven't gotten too far into the board yet as far as glitches and loops where I'm worried it may be a bit more limited but still it's been a cool project.

edit :
I made a video :
http://samvssound.com/2017/03/03/new-drum-machine/