add mouse support.