I designed and fabricated a miniature matrix keyboard pcb. It uses 5 rows and 12 columns and contains all the letters, numbers as well as [tab] [enter] [escape] [space] [up, left, down, right arrow] [backspace] and the ctrl, alt, and shift modifier keys (These are set up off the grid with their own individual pins and pullup resistors on the pcb).
I've tested out most of the lines in the matrix and it does work!
Some of the nodes in the matrix do not have keys so I also need to determine how to make them void in the keypad code set up.
But I've run into an issue: How to I program the non-numeric/alpha keys? "space bar" or "Enter" key, or "esc" key, etc...
Has anyone done this?
I am currently using the adafruit kaypad library, although I was trying to find the one by Mark Stanley, Alexander Brevig but for some reason it does not show up in the library manager. But for this, perhaps I'll have to use a different library entirely. Eventually I'll also have to program the modifier keys so I can get the extra characters and also add the F# keys.
My ultimate goal is to also program one of these to use as a keyboard for a raspberry pi zero 2w. the pcb has the same footprint and 2x20 header as the pi zero so it will make for a super cool little package. But this is an Arduino forum so I'm keeping my topic limited to just the Arduino code for now as this pcb has no internal IC's so it can be run with any controller.