我正在尝试通过 xinput 禁用触摸板。但我找不到我的触摸板的 ID...这是 xinput 列表:
Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ DLL07A9:01 044E:120B id=14 [slave pointer (2)]
⎜ ↳ GTech MI wireless mouse Mouse id=11 [slave pointer (2)]
⎜ ↳ GTech MI wireless mouse Consumer Control id=13 [slave pointer (2)]
⎜ ↳ DualPoint Stick 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)]
↳ Power Button id=8 [slave keyboard (3)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ Integrated_Webcam_HD: Integrate id=10 [slave keyboard (3)]
↳ Intel HID events id=16 [slave keyboard (3)]
↳ Intel HID 5 button array id=17 [slave keyboard (3)]
↳ Dell WMI hotkeys id=18 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=19 [slave keyboard (3)]
↳ GTech MI wireless mouse System Control id=12 [slave keyboard (3)]
↳ GTech MI wireless mouse Consumer Control id=20 [slave keyboard (3)]
我正在使用 Dell Precision 3520 并运行 arch linux(如果相关的话)。有人能告诉我我的触摸板对应的 id 是什么以及你是怎么知道的吗?
答案1
应该是DLL07A9:01 044E:120B
设备。看Aquantia 公司 DLL07A9:01 044E:120B 触摸板。
要么做:
xinput disable DLL07A9:01 044E:120B
xinput enable DLL07A9:01 044E:120B
或者使用 XID(我怀疑,这更脆弱,因为它可能会改变):
xinput disable 14
xinput enable 14