|
|
根据本版上的一位朋友提供的代码实现了笔记本电脑的触摸板和外接USB光电
鼠标同时都可使用,但是发现一个问题,就是触摸板的滚轮不能使用,经试验
把XF86Config-4里的部分代码修改如下,就能实现触摸板的滚轮能使用。
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option " rotocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option " rotocol" "IMPS/2"
Option "Device" "/dev/usbmouse"
Option "ZAxisMapping" "4 5"
EndSection
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
InputDevice "Mouse2" "SendCoreEvents"
Screen "screen1"
EndSection |
|