[ltp] Mouse Wheel Emulation

Thomas Kahle linux-thinkpad@linux-thinkpad.org
Wed, 09 Apr 2008 16:01:10 +0200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

i have a Thinkpad X61s without Touchpad, did anyone here succeed in
enabling mouse wheel emulation on this or a similar machine ?

I use xorg 1.4.0.90 and input-mouse 1.2.3 on gentoo.
The relevant part of xorg.conf looks like:

Section "InputDevice"
~        Identifier  "Mouse0"
~        Driver      "mouse"
~        Option      "Protocol" "auto"
~        Option      "Device" "/dev/input/mice"
~        Option      "ZAxisMapping" "4 5 6 7"
~        Option      "EmulateWheel"        "on"
~        Option      "EmulateWheelTimeOut" "200"
~        Option      "EmulateWheelButton"  "2"
~        Option      "YAxisMapping"        "4 5"
~        Option      "XAxisMapping"        "6 7"
EndSection

Although I experimented a lot already with this (changing the mapping
buttons and so on...) it just shows no effect. Pasting with middle
button works, scroll does not.

~From the logs i can tell that the option is read and recongnized :

...
(**) Mouse0: Device: "/dev/input/mice"
(**) Mouse0: Protocol: "auto"
(**) Option "CorePointer"
(**) Mouse0: always reports core events
(**) Option "Device" "/dev/input/mice"
(==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5 6 7"
(**) Mouse0: ZAxisMapping: buttons 4, 5, 6 and 7
(**) Option "EmulateWheel" "on"
(**) Option "EmulateWheelButton" "2"
(**) Option "EmulateWheelTimeout" "200"
(**) Option "XAxisMapping" "6 7"
(**) Mouse0: XAxisMapping: buttons 6 and 7
(**) Option "YAxisMapping" "4 5"
(**) Mouse0: YAxisMapping: buttons 4 and 5
(**) Mouse0: EmulateWheel, EmulateWheelButton: 2, EmulateWheelInertia:
10, EmulateWheelTimeout: 200
(**) Mouse0: Buttons: 11
(**) Mouse0: Sensitivity: 1
...

Any Ideas ?

thanks
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH/MqQrpEWPKIUt7MRAj7RAJ9e3T7SIichZa7iJCOmIR+tm73QeACgsw/4
3j0KTAG8PUOU6/9BZhU58sk=
=czbA
-----END PGP SIGNATURE-----