12-keypad reading with 7 pins, I'm confused

Further reading:

https://www.gammon.com.au/forum/?id=14175