Portál AbcLinuxu, 31. října 2025 18:30
| Podpora: | kompletní | 
| Ovladač: | v jádře | 
 ) To jako ze potrebuje dost casto cistit.
) To jako ze potrebuje dost casto cistit.
woody - gpm:
v /etc/gpm.conf
device=/dev/psaux
responsiveness=
repeat_type=raw
type=imps2
append=
sample_rate=
woody - xka 4.1.0.1
(asi nejlepsi co se mi podarilo z toho vytriskat)
v /etc/X11/XF86Config-4
Section "InputDevice"
        Identifier      "A4tech 4D mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Protocol"              "ImPS/2"
        Option          "Device"                "/dev/gpmdata"
        Option          "Buttons"               "9"
        Option          "ZAxisMapping"          "6 4 7 5"
EndSection
...
Section "ServerLayout"
        InputDevice     "A4tech 4D mouse"
...
Identifier "A4tech 4D mouse"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
EndSection
...
Section "ServerLayout"
InputDevice "A4tech 4D mouse"
...
1) /etc/gpm.conf
device=/dev/input/mice
responsiveness=
repeat_type=ms3
type=exps2
append=''
sample_rate=
2) /etc/X11/XF86Config-4
Section "InputDevice"
        Identifier      "A4 Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ExplorerPS/2"
        Option          "Emulate3Buttons"       "false"
        Option          "Buttons"               "5"
        Option          "ZAxisMapping"          "4 5 8 9"
EndSection
Section "ServerLayout"
        InputDevice     "A4 Mouse"
        ...
EndSection
         
buttons 9 zaxismapping 4 5 8 9
protoze 5 tlacitek + ( 2 kolecka * 2 smery ) = 9 ...
a 4 5, aby to nerozbilo stavajici programy, ktery pocitaji s koleckem namapovanym na tlacitka 4 a 5.
xev vubec nebere ty bocni tlacitka i kdyzcat /dev/psaux | hexdump; i cat /dev/gpmdata | hexdump; ukaze, ze funguji.
xmodmap -e "pointer = 1 2 3 6 7 4 5"
(Tento prikaz prohodi scroll a postranni tlacitka)
Po teto procedure mys funguje stejne jako pod WinXP (bez A4tech driveru), tzn. obe kolecka scrolluji stejne, mys vyuziva vsech 5 tlacitek.
Dokument vytvořil: Jaroslav Kodet, 31.1.2000 15:06 | Poslední úprava: jose17, 27.2.2011 15:09 | Další přispěvatelé: Redakce, ytre | Historie změn | Zobrazeno: 1167×
        Tiskni
            
                Sdílej:
                 
                 
                 
                 
                 
                 
            
    
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.