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

1 thing to consider is, anytime you hit the brake pedal the switch will be actived