On Wed, Feb 04, 2004 at 06:24:16PM +0200, Marius Gedminas wrote:
> Section "InputDevice"
> Identifier "tp-scroll mouse"
> Driver "mouse"
> Option "Device" "/dev/imouse"
> Option "Protocol" "ExplorerPS/2"
> Option "Buttons" "7"
> Option "ZAxisMapping" "6 7"
> Option "Emulate3Buttons" "true"
> Option "EmulateWheel" "false"
> EndSection
>
> I also had to xmodmap -e "pointer = 1 2 3 7 6 4 5"
This was wrong, the correct mapping is
xmodmap -e "pointer = 1 2 3 6 7 4 5"
After my fixes the X scroll button became much more reliable and I
noticed this error.
BTW I slightly dislike the fact that I need to use xmodmap in addition
to editing XF86Config. Since the XFree86 mouse driver always maps those
two additional button bits in protocol byte 3 to buttons 4 and 5, I'd
like to suggest the vertical wheel events to be reported via those
buttons and horizontal wheel via the Z axis. In that case the user
would only have to add
Option "ZAxisMapping" "6 7"
to XF86Config and there'd be no need for mucking with xmodmap.
> Unfortunately Mozilla Firebird has bound history-back and
> history-forward on buttons 6 and 7, and it is nearly impossible to move
> the trackpoint vertically without triggering any horizontal "scrolls".
This can be fixed in about:config. See http://bugs.debian.org/231155 if
you're interested.
Thanks again for this ingenious piece of software! I just love 2D scrolling
scrolling and single-button paste.
Marius Gedminas