make actor turn with my joystick

Hi, I’ve figured out how to make my character look at the mouse, but I’d like to make it work with the joystick on my controllers as well (make him look in the direction the joystick is tilted)

(The code i use for make my actor look at my cursor) :