Choices include tact switches and keyswitches ... tactile switches that are so named for their location under a rubber bubble or dome. When a dome switch is pressed, it collapses the dome and makes ...
The idea is simple, the nozzle pushes down on the PCB which has a tact switch underneath. When the switch closes, an LED lights. In practice, you measure the height of the board and use that for ...