Using Diodes in a 8 x 8 Matrix with Keypad.h

Hello, I am currently building an 8 x 8 Button Matrix using Diodes to prevent ghosting when multiple buttons are pressed.

But the Keypad.h library users internal pullup resistors to scan for a row going LOW rather than HIGH, so I am not sure how to use the Library with a Diode equipped Button matrix. any tips?

Forget the library and just write your own scanning code, it is very simple to do.

This may be late, but read this pdf carefully and you will decode your probs: