read mouse button events