Hi! I've got a 4x4 matrix keypad connected to 8 GPIO pins. How can I get pressed keys from C++ application in Linux?
Connecting matrix keypad to m6410
Enable CONFIG_KEYBOARD_MATRIX in your kernel and register its parameter in the Mini6410 platform. After that these pins are available via regular TTY (like every other keyboard) or via event device node.
How i can test matrix keypad GPIO withuot matrix keypad? cat /dev/event0 and see letter then connect pins e.g. row1 and col0?