I found a good setup on youtube and the guy who posted it doesn't have the same problem I have but I cannot lean. I have done everything like turn off lean help, changed keybind for controller and it doesn't work. It used to lean a very tiny amount but not enough to where I can play the game normally. Please Help!!!
Try to play with 'lean' axis advanced settings like dead zone (0 is more responsive but you may need to set a higher value like 5% to remove unwanted axis mouvements, linearity (100 is defaut), etc.