Good point. I’m thinking the original buttons should pass through the custom PCB passively, so the OEM function would be unchanged with the board installed.
Since the keyboard just bridges pin 1 of the keyboard to the corresponding button’s sense pin on the processor, I’m using opto-isolators (kind of like mini relays) to simulate the button presses. None of the 5V GPIO output would then leak through to the processor’s input.
On the sense side I’m tapping pin 11 and 12 on the COP410 to sense whether the turntable is in the on/off state or play/pause state. I need to step down the 5v output from the COP410 to 3.3v (or so) with a voltage divider + filter cap so I don’t stress the ESP32.