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 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 & QUICKLY push PS logo button of the DS4 to start the controller.
*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.
*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 start 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).
*Do not exit both x360ce & DS4Windows program before & during iF-22 gameplay. Let them minimize. x360ce is prone to freeze during this process. Use Task Manager to turn it off after exiting the game.
*Make sure the X360 USB controller (or any other USB/ wired controller attached) reappear in the "Set up USB game controller" list in Windows after turn off x360ce. If not, restart x360ce & tick/ untick the HIDE box in the program.