Portál AbcLinuxu, 29. října 2025 21:59
. . . Section "InputDevice" Driver "synaptics" Identifier "Touchpad" Option "Device" "/dev/input/event2" Option "Protocol" "event" Option "LeftEdge" "60" Option "RightEdge" "830" Option "TopEdge" "70" Option "BottomEdge" "650" Option "MaxTapTime" "200" Option "MaxTapMove" "100" Option "MinSpeed" "0.5" Option "MaxSpeed" "0.5" Option "EdgeMotionSpeed" "40" Option "UpDownScrolling" "1" EndSection Section "InputDevice" Identifier "Mouse" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/input/mice" Option "Buttons" "7" Option "ZAxisMapping" "6 7" EndSection . . . Section "ServerLayout" Identifier "Server Layout" Screen "Acer Aspire 1300 - LCD" InputDevice "Mouse" "CorePointer" InputDevice "Touchpad" "SendCoreEvents" InputDevice "Keyboard" "CoreKeyboard" EndSection . . .
Tohle způsobí, že události z touchpadu budou Xserveru zasílány dvakrát. Je lépe použít buď jen /dev/input/mice a nebo jen ty ostatní, ale ne dohromady.Section "InputDevice" Driver "synaptics" Option "Device" "/dev/input/event2" [...] EndSection Section "InputDevice" Driver "mouse" Option "Device" "/dev/input/mice" [...] EndSection
/dev/input/mice nezasiela udalosti pre Touchpad. Pre všetko ostatné áno, ale pre Touchpad nie :-/.
/dev/input/event0...4 a touchpad funguje práve len na /dev/input/event2.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.