Stadia Wireless enables you to use your stadia controller wirelessly. Not just with stadia, but with any game.
Stadia was shut down on January 18, 2023.
Google released a web tool which is available until December 31, 2023 to switch the controller from the normal wifi mode to using Bluetooth LE.
First, you need to install python3 if you don't already have it. Python Install Guide
Download the latest release from the releases
Directly run the server by downloading the pre installed zip file and running server.exe
You'll see a icon in the System Tray and right clicking on it will show you the website you'll need to access.
Open the webpage on your phone, connect your controller to your phone through usb and enjoy!
TIP: In order to make it easier to open the webpage, you can open up the webpage in chrome by clicking on the link and sending it to your device or generating a QR code.
VIGEM_ERROR_BUS_NOT_FOUND
errorTry installing vgamepad
by executing pip install vgamepad
If that still doesn't work then try installing https://vigem.org/Downloads/
Make sure the controller is not connected to the Stadia app
I used pyinstaller to generate the releases. Run the command
pyinstaller --noconfirm --onedir --windowed --icon "D:/Projects/pythonProjects/StadiaWireless/logo.ico" --add-data "D:/Projects/pythonProjects/StadiaWireless/static;static/" --add-data "D:/Projects/pythonProjects/StadiaWireless/templates;templates/" --add-data "D:/Projects/pythonProjects/StadiaWireless/vgamepad;vgamepad/" "D:/Projects/pythonProjects/StadiaWireless/server.py"
and replace the paths with your paths
I'm still looking into how to emulate controllers in Linux and macOs. For now, I'm thinking of using evdev for Linux and foohid for macos.