on second thought . . . that should be an easy project if
you have a brake switch and
you have some kind of electrical switch(es) operated by the treadle pedal (forward and reverse)
My treadle must have those switches. If I stand up from the operator's seat and press the treadle in either...