Cursor control through xbox controller

Is there a way to control the mouse cursor using a physical controller such as an xbox controller?

I need to be able to move the mouse cursor around the screen and shoot at the location I am pointing using a controller.

Similarly, I’ve been trying an alternate method where I move a texture of a cursor on screen space. However, I can not find a way to translate the screen space point of the texture into a world position using a ray trace.