Portál AbcLinuxu, 8. prosince 2025 04:35
Pro XFree 4.X:
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/mouse"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "off"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "off"
Option "ZAxisMapping" "4 5"
EndSection
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "AlwaysCore"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Pro 3.X
Section "Pointer"
Protocol "PS/2"
Device "/dev/mouse"
EndSection
Section "Xinput"
SubSection "Mouse"
DeviceName "USB Mice"
Protocol "IMPS/2"
ZAxisMapping 4 5
Port "/dev/input/mice"
Alwayscore
EndSubSection
EndSection
Aby chodilo i gpm v konzoli:
/usr/sbin/gpm -m /dev/input/mice -t imps2 -M -m /dev/psaux -t ps2 -R ps2
V Debianu je ještě nutné udělat symbolický odkaz z /dev/psaux na /dev/mouse. Asi to tam Debian očekává, nevím. Bez toho havaruje.
Dokument vytvořil: CIJOML, 4.3.2002 12:10 | Poslední úprava: |🇵🇸, 28.5.2011 20:34 | Historie změn | Zobrazeno: 849×
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.