Added mouse support for testing