added osx mouse input