See stickdeck-rs instead.
Turn your Steam Deck as a bluetooth joystick(gamepad) on PC.
Note
This solution doesn't implement HID (Human Interface Device), so you have to run a receiver program on your PC.
For both PC and Steam Deck:
- Python 3.x
- PyBlueZ
Warning
Install PyBlueZ by using its source code, DON'T just pip install pybluez
, you should git clone [email protected]:pybluez/pybluez.git
then python setup.py install
.
Note
For PC when installing PyBlueZ, you might need to install Windows C++ SDK. Just follow the tips from the pybluez.
Additional requirements for PC:
pip install vgamepad
, this will install a virtual gamepad driver on your PC.
Additional requirements for Steam Deck:
pip install pyjoystick
Note
During the installations above, you might need to install some additional softwares. Just follow those error messages and install them manually.
First, set your bluetooth visible: Settings - Bluetooth - Configure - Visible
Note
Or you can use bluetoothctl
and discoverable on
.
python deck.py
python win.py <address> [port=1]
Note
You can debug the joystick by running joy.cpl
utility on Windows.
You can create a shell script on the desktop with some contents like:
#!/bin/bash
konsole -e "/bin/bash -c 'python deck.py'"
Then, chmod +x <script>.sh
makes it executable, then you can start the StickDeck from the desktop!