Gopher360 provides basic joystick support for games that otherwise only have mouse support. There are other joystick to mouse apps, however they are also for general desktop usage and have a virtual keyboard which are not needed in PC games.
https://github.com/Tylemagne/Gopher360/releases