A mouse is one of the most important tools used for computers. The mouse can be found attached with a…