steamcontroller 独立 Steam 控制器驱动程序 项目简介
steamcontroller是一个独立 Steam 控制器驱动程序 。两种模式都可以触觉反馈工作:xbox360: gamepad emulatordesktop: mouse, keyboard mode安装1.安装依赖for python 3.4+:Install python libusb1 sudo pip install libusb1for python 2.7+ (you might have to use pip2 for python2.7 or pip3 for python3):Install python libusb1 sudo pip install libusb1Install python enum backport sudo pip install enum342.获得该项目tarbal或从GitHub复制它:# Get from tarbal:
wget https://github.com/ynsta/steamcontroller/archive/master.tar.gz
tar xf master.tar.gz
cd steamcontroller-master
# or clone it:
git clone https://github.com/ynsta/steamcontroller.git
cd steamcontroller3.使用 sudo python setup.py install 安装Python模块和脚本4.在/etc/udev/rules.d/99-steam-controller.rules安装udev规则(如果Steam 尚未完成):# replace game group by a valid group on your system
# Steam controller keyboard/mouse mode
SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", GROUP="games", MODE="0660"
# Steam controller gamepad mode
KERNEL=="uinput", MODE="0660", GROUP="games", OPTIONS+="static_node=uinput"5.刷新udev: sudo udevadm control --reload
wget https://github.com/ynsta/steamcontroller/archive/master.tar.gz
tar xf master.tar.gz
cd steamcontroller-master
# or clone it:
git clone https://github.com/ynsta/steamcontroller.git
cd steamcontroller3.使用 sudo python setup.py install 安装Python模块和脚本4.在/etc/udev/rules.d/99-steam-controller.rules安装udev规则(如果Steam 尚未完成):# replace game group by a valid group on your system
# Steam controller keyboard/mouse mode
SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", GROUP="games", MODE="0660"
# Steam controller gamepad mode
KERNEL=="uinput", MODE="0660", GROUP="games", OPTIONS+="static_node=uinput"5.刷新udev: sudo udevadm control --reload