Yes, I’ve written the AVR code in ATMEL Studio. Every 1/100 of a second the routine scans the matrix. It provides a press scan code or a release scan code. It generates an interrupt for the VIA on key changes.
I think the code is not very nice, but it works for me.