Add support for mouse if it is available