Joystick to Mouse is an application that enables the usage of your joystick as a mouse. To use the application first run start-joystick-to-mouse.bat. This will find the first joystick and use it.

If you want to run joystick-to-mouse with a specific joystick, append start-joystick-to-mouse.bat with -c "Joystick Name". I have only tested this app with a Logitech Attack 3 so the buttons and and axes might be incorrect with other joysticks.