It uses a lever that is moved up and down; a light switch on the wall being a common example. Early computers, especially mainframes, often had many rows of toggle switches on their consoles ...
But not always, as these DIY magnetically captured toggle switches show. Chances are good you’ve seen [The Warthog Project]’s fantastically detailed A-10 Thunderbolt II cockpit simulator ...