Added mouse support and example.