There is a threaded hole drilled into the metal for the switch to be screwed into and contact the upper part of pedal.
Ron