Re: Configuring Kensington mouse buttons

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 14 Feb 2008 19:15:02 -0700
"Reid Rivenburgh" <reidr@xxxxxxxxx> wrote:

> Section "InputDevice"
>         Identifier  "Mouse0"
>         Driver      "mouse"
>         Option      "Protocol" "IMPS/2"
>         Option      "Device" "/dev/input/mice"
>         Option      "ZAxisMapping" "4 5"
>         Option          "Buttons" "7"
>         Option      "Emulate3Buttons" "yes"
> EndSection

I've got a different kensington mouse, but I found that
I couldn't see all the buttons in xev till I changed
the Protocol option to be "Auto", the "IMPS/2" makes
it stupider than it otherwise needs to be. Also, once
you use "Auto" protocol, saying "Buttons" is apparently a bad
idea. It seemingly changes the number of buttons to
be some completely random value :-).

Once all the buttons work, you can make any of them be
any thing by using xmodmap (which is usually automatic
if you edit the /etc/X11/Xmodmap file).

Here's the relevant bits from my setup:

>From /etc/X11/xorg.conf:

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "Auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "no"
	Option	    "DragLockButtons" "2 1"
EndSection

>From /etc/X11/Xmodmap:

! Setup buttons for trackball
pointer = 1 8 3 4 5 6 7 2 9



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux