Implemented mouse support