I have a 4x3 keyboard that I connected the lines in A0, A1, A2 and A3 and the columns in A4, A5 and D6 and I used the Keypad library, however the last line of the keyboard does not work and if I click the 1 key , getKey () returns 9, as if the links were wrong, but apparently everything is all right, below is how I made the connections:
Without seeing your code, I doubt it. Read the "how to use this forum-please read" stickies to see how to post code and some hints on how to ask a question. See #7 & 11. A schematic of your project will help, too. Hand drawn and photographed or scanned is fine. Include all parts, part numbers, part values and power supplies.
I did some looking and I found this article which may help. Why don't you give it a read and get back to me. If your keypad is different, let me know what specific brand/model number your keypad is.
It might also help if you posted any code that you are using. There are many keypad libraries, and I don't know which you are using.