How did the front switches operate on early Altair and similar computers?

All this talk about lights and switches and computer history reminds me that I started a thread some time ago about an enterprising geek who makes working replica consoles of the DEC PDP-8 and PDP-11/70 minicomputers: