Salvage old 61 key keyboard with 2 ribbon cables for key matrix

I tried connecting the other cable and it worked.

Great.

Go back to the original sketch and duplicate the functions using different names ( like adding a 1 on the end of names) and different pin numbers. Then first test on one connection and then the other. If that works try them both.