GUIDE TO USE A BLUETOOTH CONTROLLER (DS4) FOR IF-22 PERSIAN GULF V5.0 TO PLAY NATIVELY ON MODERN WINDOWS
Assuming that you've already download and install both x360ce v4.x (with HIDGuardian) and DS4Windows (with ViGEm), please follow the 5 steps below:
1) Make sure DS4 controller (via wireless Bluetooth) is turn off.
2) Open x360ce program, go to DEVICES and tick HIDE for the X360 USB controller (or any other USB wired controller attached) ONLY.
3) Make sure that USB wired controller is disappear from the "Set up USB game controller" list in Windows. The list should be empty (no controller is detected).
4) Open DS4Windows program which is pre-configured to automatically use a virtual X360 controller (XInput) with the DS4 if being detected.
5) Start iF-22 game by clicking the shortcut & wait a few seconds (depends... mine is until 4 seconds) before pushing PS logo button of the DS4 to start the controller. If failed, close the game & turn off DS4 then repeat again.
*Skip step 2 & 3 if you don't have any USB controller (like the X360 wired controller) plugged in to your computer. You might not need to download x360ce at all if you don't have or not using any USB wired controller.
*Use DXWND to start the game (currently used for my game) so that the starting sequence can make a brief "gap" in time for the Bluetooth controller to work and the game can start normally (showing on screen, not just running in the background in Task Manager)
*You can also try & test any other Bluetooth controller out there besides DS4, but the bottom line is, the Bluetooth capable controller must be made "virtual" in order to use XInput for the game to recognize it.
*The game will not showing on screen when start (but running in the background in Task Manager) if it detect any HID/ USB controller connected prior to launch. The game will not recognize DS4 (DInput) unless via a virtual controller emulation (ViGEm in DS4Windows) with X360 controller preset only (using XInput).