While some gamers love the new lean feature in the Battlefield 4 Beta others despise it. If you’re one of those who despise it then I’ve got a fix for you!
Locate the PROFSAVE_profile file in the Battlefield 4 settings folder: C:\Users\[username]\Documents\Battlefield 4\settings
Right click on the file and open it with your text editor of choice.
Press Ctrl+f and search for the command GstInput.LeaningEnabled. Change this value from 0 to 1 to disable leaning.
Save the file and you’re good to go.