maybe a potentiometer??

i was thinking about how that would work...

ill do some research at work and let ya know