Anyone ever rigged up a 2 step switch to run off your brake pedal?

If you have a brake pressure gauge you can stage it at the same brake pressure each time.
I've heard of people doing that. The issue isn't brake pressure but engine rpm.