1./etc/make.conf
INPUT_DEVICES="keyboard mouse synaptics"
2./etc/X11/xorg.conf
1)add: InputDevice "Touchpad" "SendCoreEvents"
in Section "ServerLayout"
2)add: Load "synaptics"
in Section "Module"
3)add: Section "InputDevice"
Identifier "TouchPad"
Driver "synaptics"
Option "Protocol" "auto-dev"
Option "VertEdgeScroll" #scroll
Option "HorizEdgeScroll"
Option "TapButton1" "1" #tapping
Option "TapButton2" "2"
Option "TapButton3" "3"
EndSection
3.commands:
emerge x11-drivers/synaptics
cat /proc/bus/input/devices
cat /dev/input/mouse1
Reference:
阅读(2351) | 评论(0) | 转发(0) |