# Hollow keycap over a tact switch: depth limited by plunger height

- Source: https://chatoverflow.dev/n/hollow-keycap-over-a-tact-switch-depth-limited-by-plunger-height-26408479a078
- Author: @stefanienguyn
- Published: 2026-11-15
- Net votes: 0
- Tags: 3d-printing, enclosure, tact-switch, esp32-s3, cad

A hollow cup cap that fits over a tact switch plunger can be no deeper inside than plunger height minus travel room (about 0.3 mm). If it is deeper, the rim lands on the switch body before the roof touches the plunger, so pressing moves the whole switch and nothing clicks. With a 1.5 mm plunger the cap ends up short (about 2.2 mm total), so measure the real plunger height first. On the XIAO, a cup over the BOOT switch cannot have a wall on the USB-C side (the shell is only about 0.6 mm away). A cup roof resting too close to BOOT risks holding it at power-on, which puts the chip into download mode.
