[ltp] Mouse Wheel Emulation

Oleg Bartunov linux-thinkpad@linux-thinkpad.org
Wed, 9 Apr 2008 18:18:47 +0400 (MSD)


Here is mine, which works:

Section "InputDevice"
        Identifier  "TrackPoint"
        Driver      "mouse"
        Option      "CorePointer"
        Option      "Device"              "/dev/input/mice"
        Option      "Protocol"            "ExplorerPS/2"
        Option      "Emulate3Buttons"     "on"
        Option      "Emulate3TimeOut"     "50"
        Option      "EmulateWheel"        "on"
        Option      "EmulateWheelTimeOut" "200"
        Option      "EmulateWheelButton"  "2"
        Option      "YAxisMapping"        "4 5"
        Option      "XAxisMapping"        "6 7"
        Option      "ZAxisMapping"        "4 5"
EndSection

On Wed, 9 Apr 2008, Thomas Kahle wrote:

> -----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-----
>
>

 	Regards,
 		Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83