make middle button on Thinkpad get to work in ubuntu 10.10

2010/11/04 20:37
阅读数 482

First: Go to (in terminal)

/usr/share/X11/xorg.conf.d

Next: create a file named (as root)

20-thinkpad.conf

Next: Add the following to the file:

Section "InputClass"
    Identifier  "Trackpoint Wheel Emulation"
    MatchProduct    "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device|Composite TouchPad / TrackPoint"
    MatchDevicePath "/dev/input/event*"
    Option      "EmulateWheel"      "true"
    Option      "EmulateWheelButton"    "2"
    Option      "Emulate3Buttons"   "false"
    Option      "XAxisMapping"      "6 7"
    Option      "YAxisMapping"      "4 5"
EndSection

Next: Save the file

Lastly: Reboot your computer! (or manually save and reboot Xorg)

展开阅读全文
加载中
点击引领话题📣 发布并加入讨论🔥
0 评论
1 收藏
0
分享
返回顶部
顶部