is there any nice library for matrix kepads but it need to work for many keys pressed at once. For example it need to detect max 15 keys in the same time. This what I have found already works fine but as soon as one key is pressed, the secound one is not detected...
prepond:
is there any nice library for matrix kepads but it need to work for many keys pressed at once. For example it need to detect max 15 keys in the same time. This what I have found already works fine but as soon as one key is pressed, the secound one is not detected...
As far as the description tells this keypad library supports multi-keypresses since version 3.0 (2012-07-12). And more than that: multi-keypress detection is even the default configuration setting of the library.
|| @description
|| | The latest version, 3.0, of the keypad library supports up to 10 || | active keys all being pressed at the same time. This sketch is an
|| | example of how you can get multiple key presses from a keypad or
|| | keyboard.
To make it suitable for my 15 active keys I need to change only:
#define LIST_MAX 10 // Max number of keys on the active list. #define MAPSIZE 10 // MAPSIZE is the number of rows (times 16 columns)