Getkdb() can't do this as standart
But if I2C is a option for you then a PCF8575 16bit will be nice to use
here you can make matrix 16 keys + you have 8 more pins free to use
8574 8bit is used here but can be change to fit PCF8575 16bit
some idea from : http://www.qsl.net/pa3ckr/bascom%20and%20avr/i2c/
scroll down to Reading a 4x4 keyboard on the Pcf8574
↧