Optional operation by means of a hand or foot switch