>  From the XF86Config-4 file...
> <snip>
> Section "InputDevice"
>         Identifier      "Configured Mouse"
>         Driver          "mouse"
>         Option          "CorePointer
>       Option          "Protocol"            "IntelliMouse"
>       Option          "Device"                   "/dev/psaux"
>       Option          "Buttons"             "5"
>         Option          "ZAxisMapping"          "4 5"
> EndSection
>
> Section "InputDevice"
>         Identifier      "Generic Mouse"
>         Driver          "mouse"
>         Option          "SendCoreEvents"        "true"
>           Option                "Device"                "/dev/input/mice"
>           Option                "Protocol"              "ImPS/2"
>           Option                "Emulate3Buttons"       "true"
>           Option                "ZAxisMapping"          "4 5"
> EndSection
> </snip>

firstly, you only need one of these sections (unless you have two mice?). 
Which one is it using? (check what youre corepointer is in the "serverlayout" 
section). You can ditch the other InputDevice section.

Buttons "5" and ZAxisMapping is for the wheel (maps buttons 4 and 5 to wheel 
up and wheel down). Device should probably be /dev/psaux if you're using a 
ps/2 mouse, but just check this file actually exists. Driver you want to be 
"mouse", obviously... so that leaves "Protocol". I think it's probably just a 
matter of choosing the right protocol. Look up the documentation (man 
XF86Config might be a good place to start, or check out the xfree86 website) 
and find what the valid protocols are. Then, there probably aren't too many, 
so just try em all ;)

Cheers,
Gareth


Reply via email to