It has a pendelum(sp?) that hangs vertically, that's why most have a level adjustment. when you brake, the pendelum swings forward, applying voltage proportional to the amount of swing.
There's only one or 2 controllers that work either off brake hydraulic pressure or based on how hard you're pressing the brakes..