Linear Mechanical Switches