That's the thing, it really depends on what you're trying to accomplish. If you're trying to move the mouse as if some remote program was a mouse attached to your computer, generating inputs makes sense. If you provide some kind of remote support application that just needs to make the mouse appear at the place the remote tech indicates, changing the raw cursor makes sense.
Both approaches are reasonable and both are implemented in desktop operating systems for this reason.
Both approaches are reasonable and both are implemented in desktop operating systems for this reason.