--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.
https://help.ubuntu.com/community/ManyButtonsMouseHowto#Remapping%20buttons记录了如何重新映射鼠标上的按钮。引用它:
这是 --set-button-map 选项的 xinput(1) 手册页说明:
这应该允许您重新映射鼠标中键,以便正确地将其检测为鼠标中键。