Added mouse class to check the mouse's state without events.
Merge branch 'master' into mouse
Merge branch 'master' into mouse
Merge branch 'master' into mouse