Small, reliable switches designed to be activated by the movement of machinery. They are also found in computer mice and game joysticks.

Microswitch

Wikipedia