These 8 resitors in pins 21-29 appeared in some revisions of PCB made by russian/poly users. Seemingly, without him begin to appear "ghost buttons" when used all of the possible buttons, ~120 include HAT.
Same case for one diode in each button. Probably, with an smaller number of buttons being used this had not happened.
But if your new scheme work whitout "ghost buttons" is very nice.
Plenty simplified the buttons connections.
If you objective is re-wire a old gameport stick to USB, I sugest that you make one these small PCBs whitout key matrix. In case has not made one.
Sample (~57x34mm): http://aviasimrus.spb.ru/forum/showthread.php?t=1014This PCB requests capacitors with 2,54mm betwen terminal (pins).
Then you put PCB in the base of joystick and can use shorter/less cables.
In this case, put one diode in one terminal of each button/HAT, and wire according to the key matrix scheme.
The eletric circuit and .HEX (firmware) these small one is same used by Frakk, when Mindaugas leave the Mjoy project he liberated the Mjoy16 code for DIY use, but blocked it for edition, the only thing that can change in HEX is the name - with 4 letters - and the vendor ID.
PCB with key matrix is good to "button box" or cockpit, but complicated to use in joystick re-wire.