added key pressed/released communication