Xorg Mouse button configuration

Kevin J. Cummings cummings at kjchome.homeip.net
Wed Nov 24 22:17:37 UTC 2004


RoboticGolem wrote:
> Whoops...  I guess I dont have the right setup...  here we go:
> Section "InputDevice"
>         Identifier  "Mouse0"
>         Driver      "mouse"
>         Option      "Buttons" "10"
>         Option      "Protocol" "ExplorerPS/2"
>         Option      "Device" "/dev/input/mice"
>         Option      "Emulate3Buttons" "no"
>         Option      "ZAxisMapping" "6 7"
> EndSection
> 
> xmodmap -e "pointer = 1 2 3 6 7 4 5 8 9 10"
> 
> Is how I got all my mouse buttons to work in FC2...  I havent gotten
> the side ones to turn from 2 and 3 to 9 and 10 in fc3 yet.

What's the point of remapping buttons 4-5/6-7?   Why not just leave them 
alone?  and use:

	Option	"ZAxisMapping" "4 5"

and forget the xmodmap line?

I tried something similar (ExploerPS/2) with my new MX LASER, but found 
that the sensitivity was *way* more than I needed.  It became hard to 
click any button without also causing the mouse to change position too.

I'm currently running with:

> Section "InputDevice"
>         Identifier  "Logitech Mouse"
>         Driver      "mouse"
>         Option      "Protocol" "IMPS/2"
> #       Option      "Protocol" "ExplorerPS/2"
> #evdev  Option      "Protocol" "evdev"
> #evdev  Option        "Dev Name" "Logitech USB Receiver" #/cat/proc/bus/input/devices
> #evdev  Option        "Dev Phys" "usb-00000000:00:02.1-2/input0
> #evdev  Option      "Device" "dev/input/event3"
>         Option      "Device" "/dev/input/mice"
> #evdev  Option      "Buttons" "12"
> #evdev  Option      "ZAxisMapping" "11 12"
>         Option      "ZAxisMapping" "4 5"
>         Option      "Emulate3Buttons" "no"
> EndSection

And waiting for EVDEV support for Fedora to try again....

I've looked at the xev output of clicking my buttons, and don't see 
anything unique for the "extra" buttons.  They all (except the 
scrollwheel side-to-side) seem to map onto the first 6 buttons in some 
combination, which makes using them rather useless.  And the side 
movement of the scroll-wheel generates no events at all.

Wish I could use the "extra" buttons....

-- 
Kevin J. Cummings
kjchome at rcn.com
cummings at kjchome.homeip.net
cummings at kjc386.framingham.ma.us




More information about the fedora-list mailing list