Allows you to use your Bluetooth gamepad on your PC via your mobile phone and WiFi or USB tethering. (so you don't need a Bluetooth dongle)
Nefarius.ViGEm is used for XBox 360 controller emulation.
The sourcecode is still a mess. (don't look at it! you have been warned!)
There are now three versions available:
Optimized Input:Should provide the best experience
Reliable Input: Buttons will allways be pressed, but input is slower
Fast Input: Fast input, but sometimes button presses can get lost
Installation:
1.) Install the Android app (the .apk file)
https://techcult.com/install-apk-using-adb-commands/
2.) Unzip the Windows server on your gaming PC
3.) Install the controller driver (Controller Emulator Driver.msi)
Usage:
1.) Run the Android app
2.) Run the Windows server
3.) Map the buttons by clicking on them in the Windows server, followed by pressing the according button on the controller
4.) (optional) Connect your mobile using USB tethering and disable mobile data
https://www.geeksforgeeks.org/what-is-usb-tethering-and-how-to-enable-it/
https://www.businessinsider.com/how-to-turn-off-cellular-data-on-android
5.) Enter your computer's IP in the android app and press "Connect"
https://www.businessinsider.com/how-to-find-ip-address-on-windows
6.) Play :D
FIFA 22 can be played ok via wifi 5ghz, but for games without input prediction, you should use USB tethering.
Whe using USB tethering, you should disable mobile data on your mobile phone, or it could drain your mobile data contingent!
Technical stuff:
There is no serverside prediction
The connection is not secured (an attacker who has infiltrated your network could fake gamepad input at your pc.)
The axis are being transmitted using UDP (package loss won't matter, but speed does)
The buttons are being transmitted using TCP (they are mandatory, and a loss of button press would be fatal)
Todo:
Add autodiscovery
Clean up code