vonnieda/ScreenUi

Implementing a matrix keyboard input

Opened this issue · 0 comments

Hi. I found this library and looks like really good work. I am really interested in using on a project I am working on. The project involves a 128x64 ST7920 LCD display (which I was thinking of using with SPI) and a matrix keyboard as input. I see that demo and the example code both use an encoder with 2 buttons as input and I was wondering if you had some idea of how I could implement the getInputDeltas method to work with a 4x4 matrix keyboard so that when I press the numbers it inputs those numbers. The keyboard also has pound(#), star(*), A, B, C and D keys, some of which I could use for the selected and cancel commands, and the remaining keys I could use for other special functions.

Any suggestions will be greatly appreciated.

Regards.