I would like to allow the player to move the cursor on the PC screen via the a gamepad stick. DefOS is of course my friend here. But has someone already implemented this? What is a viable solution? Perhaps something like the following approach?
each frame the stick is moved:
- get the position of the cursor from the system via defOS
- add a movement to this position depending on the input of the stick
- set back the position of the cursor via defOS.
Many thanks for any advice!