I was who remove those pins, but I don't know what its name those header because the yellow maked pin header is smaller than red ones. So I should be one male and 6 female header from this type.
And one par the red marked, but I want it 90 deg version that it doesn't break it in use.

If you have pics about the wires from shift reg to buttons, it will be good.
Becouse my grip is totally wrong and it is soldered with scan matrix with diodes, but I want to soldered back the original state

I have individual TLE 5010 chip so I didn't order from Ali that's way ask that this magnets good or not.