You don't register events for specific keys. You register callbacks that happen when specific events occur. When the keyPressed or keyReleased events occur, the specific key being pressed or released is passed to the function.
You decide, based on the key that was pressed, what to do - write it to serial, ignore it, do a happy dance, etc.