I created a joystick and it works but it can only move the character forward and backward but cannot move the character left and right. Please how do I fix it?

I’ve also tried using the ue4 default joystick but it’s the same result with that of my custom joystick