I am building an arcade controller that has 4 buttons as Left/Down/Right/Up digital directions, and I want to add 4 other buttons that would be Down-Left, Down-Right, Up-Left and Up-Right.
All buttons are connected to a PCB with digital pins for each Left/Down/Right/Up digital directions, with common ground.
The following diagram explains the concept. The colored switches are the L/D/R/U directions, and the black switches are the intended DL/DR/UL/UR switches. The Arduino symbol is just there for illustration.
The PCB I will be using doesn't have any analog pin, and I can't program it. I have tried to connect a given black switch with its corresponding colored switches in series, and also connect a black switch directly to the corresponding pins, but the output is the combination of the colored switches whether I press the black switch and any of its corresponding colored ones. What can I do to make the circuit work?