All the buttons of the button board go into a multiplexer chip that lets me use 5 wires instead of 12 from the ribbon cable to send the information to the micro controller. Everything in the button board is connected to a dual array of pins where the ribbon cable is connected.

I'm using a Teensy 3.1 as my micro controller