![如何找到触摸板的设备名称?](https://linux22.com/image/945886/%E5%A6%82%E4%BD%95%E6%89%BE%E5%88%B0%E8%A7%A6%E6%91%B8%E6%9D%BF%E7%9A%84%E8%AE%BE%E5%A4%87%E5%90%8D%E7%A7%B0%EF%BC%9F.png)
我正在尝试关注这些说明禁用触摸板底部的中键单击。
跑步xinput list
可得:
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech USB-PS/2 Optical Mouse id=10 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=14 [slave pointer (2)]
⎜ ↳ TPPS/2 Elan TrackPoint id=15 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ Integrated Camera: Integrated C id=11 [slave keyboard (3)]
↳ Integrated Camera: Integrated I id=12 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=13 [slave keyboard (3)]
↳ ThinkPad Extra Buttons id=16 [slave keyboard (3)]
但是xinput get-button-map "SynPS/2 Synaptics TouchPad"
好像没有给我按钮图。
编辑:我再次尝试,现在运行时得到了预期的结果xinput get-button-map "SynPS/2 Synaptics TouchPad"
。我之前肯定犯了一些错误。