add keyboard userevent for left, right, up and down key