add mouse-event support