155
Fig. 7.15
Keycode
ASCII keycodes can be acquired with the input function of this library. Scanning codes cannot be
acquired.
Acceptance timing of keycode
A key input is performed by touching the appropriate area on the keypad. However, this input will
only be accepted as the keycode when the key scanning and key input functions are called.
Specifically, the coordinates of the touched position are placed in the buffer by the interrupt.
They are retrieved from the buffer and processed when the key scan and key input functions are
called. Therefore, no keycode can be accepted, even if a key is touched, unless the application calls
the key scanning or key input function. This means that the application should be programmed so
that the key scanning or key input function is called at intervals that are as short as possible.
EXT2 KeyExt2 Key
Ext1 Key
Main Key
or 1 Key In
Main Key
or 1 Key In
Ext1 Key
Shift Key
Ext2 Key
Ext1 Key