Help with button matrix and diodes

You need to wire your box as shown in the schematic.

  • However, you can do as the web site link did and use on the internal pullup resistors, you would not connect USB 5V to anything if this is done..