sudo pip install libusb1
sudo pip install libusb1
sudo pip install enum34
wget https://github.com/ynsta/steamcontroller/archive/master.tar.gz
tar xf master.tar.gz
cd steamcontroller-master
git clone https://github.com/ynsta/steamcontroller.git
cd steamcontroller
sudo python setup.py install
/etc/udev/rules.d/99-steam-controller.rules
:sudo udevadm control --reload
sc-xbox.py start
for the simple xbox360 emulator.sc-desktop.py start
for the desktop keyboard/mouse mode.sc-xbox.py stop
or sc-desktop.py stop
sc-dump.py
: Dump raw message from the controller.sc-gyro-plot.py
: Plot curves from gyro data (require pyqtgraph and pyside installed).sc-test-cmsg.py
: Permit to send control message to the contoller. For example:echo 8f07005e 015e01f4 01000000 | sc-test-cmsg.py
will make the controller beep.vdf2json.py
: Convert Steam VDF file to JSON.json2vdf.py
: Convert back JSON to VDF file.sudo modprobe usbmon
lsusb -d 28de:1142
and look at bus and device numbers (B & D)sudo cat /sys/kernel/debug/usb/usbmon/Bu | grep Co:B:D:0
(B=3 and D=003 for example)81000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
87153284 03180000 31020008 07000707 00301400 2f010000 00000000 00000000
87153284 03180000 31020008 07000707 00300000 2f010000 00000000 00000000
9f046f66 66210000 ..
8f
07
00
for Right 01
for Left00