System with two buttons

It's hardware. Post a wiring diagram.