PS4 Controls switch after building webgl

Hello guys, I made a game using PS4 controller, everything working good and well in Unity. When i build my controls switch for some reason. The x buttons become the O button the triangle the square… Anyone know the problem?

Second question: My freelook camera isn’t working, it uses the right joystick. (this can also be due to the controlls being manipulated like the other buttons. When I move the joystick to the left it moves the free look camera