[DEV] Add keyboard event handling.