Based on a 4x4 Macropad layout, the back has space for the diodes and wiring.
I used a promicro controller, 1N4148 diodes and Cat5 Cable.