[ltp] Trackpoint scrolling

Dominik Riebeling linux-thinkpad@linux-thinkpad.org
Sun, 14 May 2006 12:32:05 +0200


On 5/14/06, Torsten Wolf <t.wolf@tu-bs.de> wrote:
> behave as expected. The three mouse buttons as well as the scroll wheel
> work, too. Yet the trackpoint worries me. All three buttons worked out
> of the box, press to select is enabled via a script during the startup
> of X (7.0, Debian unstable). I understand the scrolling feature in that
> way, that one presses the middle trackpoint button (EmulateWheelButton
> -> 2) and simultaneous trackpoint movements are translated into
> scrolling. So I edited xorg.conf in the following way:

On my setup (fc5) the mouse section in xorg.conf looks like the following:

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
        Option "EmulateWheel" "yes"
        Option "EmulateWheelButton" "2"
        Option "XAxisMapping" "6 7"
        Option "YAxisMapping" "4 5"
        Option "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons" "yes"
EndSection

Note the "XAxisMapping" and "YAxisMapping", which is needed for the
the Trackpoint (at least it was when I last fiddled with it -- but it
still works even after my upgrade from xorg 6.8 to 7.0).
"ZAxisMapping" is needed for the scroll wheel of the external mouse.

HTH
 - Dominik