Yamaha makes a midi foot controller called the MFC200. It has several on and off switches and a foot control pedal which all can be assigned to do different things. This should work fine for your needs.
George Kaye
Kaye's Music Scene
Reseda, California
_________________________
George Kaye
Kaye's Music Scene (Closed after 51 years)
West Hills, California
(Retired 2021)