Kicad digital simulation. ) Button’s subckt: .

Kicad digital simulation. All have been designed/tested with KiCad 6.