Cleaned up MouseParser.cpp