Switches operated by an operating part in the form of a pivotable member acted upon directly by a solid body, e.g. by a hand