User Manual

PoKeys user manual
41
www.poscope.com
Figure 15: Assigning row and column pins
Matrix keyboard column selection
Each free digital input pin can be assigned as matrix keyboard column input. Make sure the selected
pin is configured as digital input, then check the ‘Matrix keyboard’ option for the pin and select the
appropriate column letter from the list.
Matrix keyboard row selection
Each free digital output pin can be assigned as matrix keyboard row output. Make sure the selected
pin is configured as digital output, then check the ‘Matrix keyboard’ option for the pin and select the
appropriate row number from the list.
Keyboard mapping configuration
Open the ‘Peripherals > Matrix keyboard…’ menu for configuration of the keyboard mapping. Matrix
keyboard is schematically drawn in the dialog below. On the right, key mapping settings can be
selected. To setup mapping, click on one of the keys in the matrix keyboard drawing and select
appropriate key mapping options on the right.
To test the matrix keyboard, first make sure that the settings have been saved to device (close the
Matrix keyboard dialog and click on ‘Send to device’ button). The matrix keyboard dialog can then be
used to test the matrix keyboard just press any key on your matrix keyboard and the appropriate
button in the matrix keyboard drawing will be highlighted.
To setup different key presses for ‘key press’ and ‘key release’ events, check ‘Triggered mapping’
option and select different settings for ‘Down key’ (‘key press’ event) and ‘Up key’ (‘key release’
event).