如何修复我的鼠标中键被识别为鼠标左键?

我已将系统更新到10.10,从那时起,我的“鼠标中键”(在我的笔记本电脑上,在触摸板下)被识别为我的“鼠标左键”。 如果我打开xev ,我可以看到两者,我的“鼠标左键和中键”被称为“按钮1”。

任何人都可以解决这个问题,让我的鼠标中键再次像鼠标中键一样吗?

https://help.ubuntu.com/community/ManyButtonsMouseHowto#Remapping%20buttons记录了如何重新映射鼠标上的按钮。 引用它:

有些指点设备有一个奇怪的按钮映射,所以需要一些调整来匹配X对事物的感知。 这样的调整可以在运行时使用xinput执行 – 在xinput列表中找到你的设备并运行xinput set-button-map 1 2 3 6 7,用你需要的按钮映射替换这些数字。 您可以通过搜索具有相同硬件的其他人来找到它,或者您可能需要玩游戏并查看哪些有效。

以下是–set-button-map选项的xinput(1)手册页说明:

--set-button-map device map_button_1 [map_button_2 [...]] Change the button mapping of device. The buttons are specified in physical order (starting with button 1) and are mapped to the logical button provided. 0 disables a button. The default button mapping for a device is 1 2 3 4 5 6 etc. 

这应该允许您重新映射鼠标中键,以便将其正确检测为鼠标中键。