defaults write .GlobalPreferences com.apple.mouse.scaling -1
Note: Log out to take effect. If you change Tracking Speed under System Preferences, it will undo this fix. Only affects the mouse, not the trackpad.
Under System Preferences → Mouse, change Tracking Speed.
defaults write .GlobalPreferences com.apple.trackpad.scaling -1
Works the same way, but only affects trackpads.
Subscribe to get resources directly to your inbox. You won't receive any spam! ✌️