Different keypads

Hi,
I'm building a project where i use a keypad. I used different keypads of 4x4 and 3x4 keys and eveything worked fine with this one (and the 3x4 version of this one)

Now i'm trying a new type of keypad and is cant get it to work. As far as i can see, it uses the same technique so it schould work with the same code.


The techical details are here: Product info (PDF)

If i connect this to my arduino with the same code, only the 2nd collumn works with the numbers inverted. I cant find the right way to make this work. Anyone has experience with these?

Thanks!

Santepeter85:
If i connect this to my arduino with the same code

Please post that code, and show your connections.

Pieter