Steam 增加了额外的输入设备

Steam 增加了额外的输入设备

Steam 添加了模拟 Xbox 控制器,同时还有“索尼互动娱乐控制器”(DS4),因此一些原生支持 DS4 的游戏可以识别出有 2 个玩家。我如何摆脱或禁用不使用 Steam 控制器配置的控制器(我假设是 js0)?

cat /proc/bus/input/devices给出:

I: Bus=0003 Vendor=054c Product=09cc Version=8111
N: Name="Sony Interactive Entertainment Wireless Controller Touchpad"
P: Phys=usb-0000:00:14.0-13/input3
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb3/3-13/3-13:1.3/0003:054C:09CC.0004/input/input22
U: Uniq=a4:53:85:8c:89:6e
H: Handlers=mouse1 event21 
B: PROP=5
B: EV=b
B: KEY=2420 10000 0 0 0 0
B: ABS=260800000000003

I: Bus=0003 Vendor=054c Product=09cc Version=8111
N: Name="Sony Interactive Entertainment Wireless Controller Motion Sensors"
P: Phys=usb-0000:00:14.0-13/input3
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb3/3-13/3-13:1.3/0003:054C:09CC.0004/input/input23
U: Uniq=a4:53:85:8c:89:6e
H: Handlers=event22 
B: PROP=40
B: EV=19
B: ABS=3f
B: MSC=20

I: Bus=0003 Vendor=054c Product=09cc Version=8111
N: Name="Sony Interactive Entertainment Wireless Controller"
P: Phys=usb-0000:00:14.0-13/input3
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb3/3-13/3-13:1.3/0003:054C:09CC.0004/input/input21
U: Uniq=a4:53:85:8c:89:6e
H: Handlers=event23 js0 
B: PROP=0
B: EV=20001b
B: KEY=7fdb000000000000 0 0 0 0
B: ABS=3003f
B: MSC=10
B: FF=107030000 0

I: Bus=0003 Vendor=28de Product=11ff Version=0001
N: Name="Microsoft X-Box 360 pad"
P: Phys=
S: Sysfs=/devices/virtual/input/input24
U: Uniq=
H: Handlers=event24 js1 
B: PROP=0
B: EV=20000b
B: KEY=7cdb000000000000 0 0 0 0
B: ABS=3003f
B: FF=10000 0

答案1

通过删除 event23 解决(就我而言);“sudo rm /dev/input/event23”

相关内容