Add key press/release logging.