keydown, keyup and mouse click events