Rotate actor in place with VirtualJoystick

Hi!
I’am trying to use a VirtualJoystick to rotate pawn around in place. But I don’t know how to use input values (-1, 1) from both axis of the joystick to set rotation of actor. It should look like actor face follow joystick direction.
I don’t know how complicate it is but I fell it could be quite simple with some math logic… it isn’t my strong point unfortunately. Thanks for any help.

I’ve found solution in pawn’s tick function of TwinStick template.