How to disable mouse acceleration in Yosemite? I just upgraded to Yosemite and my current best interpretation of what's happening is that there's a new behavior that "helpfully" moves the mouse (and a window if you're moving one) closer to an edge of the screen when moving quickly enough.

I really dislike this, in great part because it causes very strange behavior when I'm playing a game. 

Is this a setting that can be changed?

With additional testing, it looks like the mouse doesn't snap to the edge, but has tremendous acceleration in some cases (quick changes in direction?) which it didn't have before the upgrade to Yosemite.
It turns out Yosemite enables mouse acceleration by default. it can be disabled by typing this in terminal:

defaults write .GlobalPreferences com.apple.mouse.scaling -1


After changing this setting in Terminal, you'll need to logout and log back in to your Mac.  Relaunching Finder will work too (option + right-click on Finder icon in dock -> Relaunch)