Has anybody got this working?
Virtual Mouse Mode
Implemented virtual mouse mode for XInput gamepads
Holding both triggers now enters virtual mouse mode:
The left stick moves the mouse pointer. This is analog, with a small amount of acceleration past halfway pressed
Moving the right stick up and down moves the mouse wheel
Moving the right stick left and right passes through to your normal binds, allowing you to turn the camera
The A/Cross button is the left mouse button
The B/Circle button is the right mouse button
The Y/Triangle button is the middle mouse button
The d-pad will snap your mouse pointer around the screen
The X/Square button will snap your mouse pointer to the center of the screen