Create native XInput implementation
Should hopefully fix the issue where some users would get incorrect controller mapping/spinning camera.
https://steamcommunity.com/app/292120/discussions/0/4312743731808007161/ https://steamcommunity.com/app/292120/discussions/0/613938693134914508/ https://steamcommunity.com/app/292120/discussions/0/3047230236583754130/ https://steamcommunity.com/app/292120/discussions/1/3047231300180681161/ https://steamcommunity.com/app/292120/discussions/0/141136086923284332/
Also allows hotswapping controllers without any slowdown, and fixes two issues with vibration:
-
High/Low frequency vibration variables were swapped (probably the real cause of https://github.com/rebtd7/FF13Fix/issues/24, the motor used the most by the game is the strongest one and we were incorrectly using the weaker one)
-
Vibration was not working after hotswapping
Vibration also now runs in the main thread (should be more accurate)
@Nucleoprotein Are you okay? Would you like to review this?
Is this PR still under review? This would fix a rather large issue with the game. Thanks