I need help creating code for a small pay phone hack. I'm using an Arduino uno, 4x3 matrix keypad with 7 leads and a GND. I want to have the keypad input custom keystrokes into the computer.
I've been able to find other information on using regular input buttons to make keystrokes like shown here :https://www.youtube.com/watch?v=wTbjmulNSlw Just not using a keypad.
Where the input comes from is COMPLETELY irrelevant when deciding what to do with the input.
cedarlakeinstruments:
In his defence, reading a key matrix is different from reading a discrete switch. Not by much, but it is different.
So? My point was that once you know what to do, because a key on a matrix was pressed, or because a switch was pressed, or because a roll of some dice came up 11, doing it (whatever it is), is completely separate from how the decision to do it was arrived at.
justintimesir:
A key matrix is different from a regular button input.
Your point being? OP seems to know what to do when a particular input is received. My point was that all he/she needs to do is get the particular input from somewhere else.