Turn your Steam Deck as a bluetooth joystick on PC.
MIT License
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:
[!WARNING] Install PyBlueZ by using its source code, DON'T just
pip install pybluez
, you shouldgit clone [email protected]:pybluez/pybluez.git
thenpython 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
anddiscoverable 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!