[ltp] Mouse Wheel Emulation

Ted linux-thinkpad@linux-thinkpad.org
Wed, 9 Apr 2008 08:47:50 -0700


------=_Part_8461_4816879.1207756070844
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Suprisingly, I get wheel emulation on touchpad without anything special

Section "InputDevice"
        Identifier  "Synaptics"
        Driver      "synaptics"
        Option      "Device" "/dev/input/mice"
        Option      "Protocol" "auto-dev"
        Option      "Emulate3Buttons" "yes"
EndSection

Rubbing up/down by right wall emulates scroll up/down, and right left on
bottom emulates scroll right/left (though, I've disabled that for firefox,
which takes it as "back" gesture)

-tg-

On Wed, Apr 9, 2008 at 7:18 AM, Oleg Bartunov <oleg@sai.msu.su> wrote:

> 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/<http://www.sai.msu.su/%7Emegera/>
> phone: +007(495)939-16-83, +007(495)939-23-83
>
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>



-- 
*:-.,_,.-:*'``'*:-.,_,.-:*'``'*:-.,_,.-:*'``'*:-.,_:-.,_,.-:**:-.,_,.
Save time... see it my way
*:-.,_,.-:*'``'*:-.,_,.-:*'``'*:-.,_,.-:*'``'*:-.,_:-.,_,.-:**:-.,_,.

------=_Part_8461_4816879.1207756070844
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Suprisingly, I get wheel emulation on touchpad without anything special<br><br>Section &quot;InputDevice&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Identifier&nbsp; &quot;Synaptics&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Driver&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;synaptics&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;Device&quot; &quot;/dev/input/mice&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;Protocol&quot; &quot;auto-dev&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;Emulate3Buttons&quot; &quot;yes&quot;<br>EndSection<br><br>Rubbing up/down by right wall emulates scroll up/down, and right left on bottom emulates scroll right/left (though, I&#39;ve disabled that for firefox, which takes it as &quot;back&quot; gesture)<br>
<br>-tg-<br><br><div class="gmail_quote">On Wed, Apr 9, 2008 at 7:18 AM, Oleg Bartunov &lt;<a href="mailto:oleg@sai.msu.su">oleg@sai.msu.su</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Here is mine, which works:<br>
<br>
Section &quot;InputDevice&quot;<br>
 &nbsp; &nbsp; &nbsp; Identifier &nbsp;&quot;TrackPoint&quot;<br>
 &nbsp; &nbsp; &nbsp; Driver &nbsp; &nbsp; &nbsp;&quot;mouse&quot;<br>
 &nbsp; &nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp;&quot;CorePointer&quot;<div class="Ih2E3d"><br>
 &nbsp; &nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp;&quot;Device&quot; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;/dev/input/mice&quot;<br></div>
 &nbsp; &nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp;&quot;Protocol&quot; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;ExplorerPS/2&quot;<br>
 &nbsp; &nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp;&quot;Emulate3Buttons&quot; &nbsp; &nbsp; &quot;on&quot;<br>
 &nbsp; &nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp;&quot;Emulate3TimeOut&quot; &nbsp; &nbsp; &quot;50&quot;<div class="Ih2E3d"><br>
 &nbsp; &nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp;&quot;EmulateWheel&quot; &nbsp; &nbsp; &nbsp; &nbsp;&quot;on&quot;<br>
 &nbsp; &nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp;&quot;EmulateWheelTimeOut&quot; &quot;200&quot;<br>
 &nbsp; &nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp;&quot;EmulateWheelButton&quot; &nbsp;&quot;2&quot;<br>
 &nbsp; &nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp;&quot;YAxisMapping&quot; &nbsp; &nbsp; &nbsp; &nbsp;&quot;4 5&quot;<br>
 &nbsp; &nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp;&quot;XAxisMapping&quot; &nbsp; &nbsp; &nbsp; &nbsp;&quot;6 7&quot;<br></div>
 &nbsp; &nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp;&quot;ZAxisMapping&quot; &nbsp; &nbsp; &nbsp; &nbsp;&quot;4 5&quot;<br>
EndSection<div><div></div><div class="Wj3C7c"><br>
<br>
On Wed, 9 Apr 2008, Thomas Kahle wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Hi,<br>
<br>
i have a Thinkpad X61s without Touchpad, did anyone here succeed in<br>
enabling mouse wheel emulation on this or a similar machine ?<br>
<br>
I use xorg <a href="http://1.4.0.90" target="_blank">1.4.0.90</a> and input-mouse 1.2.3 on gentoo.<br>
The relevant part of xorg.conf looks like:<br>
<br>
Section &quot;InputDevice&quot;<br>
~ &nbsp; &nbsp; &nbsp; &nbsp;Identifier &nbsp;&quot;Mouse0&quot;<br>
~ &nbsp; &nbsp; &nbsp; &nbsp;Driver &nbsp; &nbsp; &nbsp;&quot;mouse&quot;<br>
~ &nbsp; &nbsp; &nbsp; &nbsp;Option &nbsp; &nbsp; &nbsp;&quot;Protocol&quot; &quot;auto&quot;<br>
~ &nbsp; &nbsp; &nbsp; &nbsp;Option &nbsp; &nbsp; &nbsp;&quot;Device&quot; &quot;/dev/input/mice&quot;<br>
~ &nbsp; &nbsp; &nbsp; &nbsp;Option &nbsp; &nbsp; &nbsp;&quot;ZAxisMapping&quot; &quot;4 5 6 7&quot;<br>
~ &nbsp; &nbsp; &nbsp; &nbsp;Option &nbsp; &nbsp; &nbsp;&quot;EmulateWheel&quot; &nbsp; &nbsp; &nbsp; &nbsp;&quot;on&quot;<br>
~ &nbsp; &nbsp; &nbsp; &nbsp;Option &nbsp; &nbsp; &nbsp;&quot;EmulateWheelTimeOut&quot; &quot;200&quot;<br>
~ &nbsp; &nbsp; &nbsp; &nbsp;Option &nbsp; &nbsp; &nbsp;&quot;EmulateWheelButton&quot; &nbsp;&quot;2&quot;<br>
~ &nbsp; &nbsp; &nbsp; &nbsp;Option &nbsp; &nbsp; &nbsp;&quot;YAxisMapping&quot; &nbsp; &nbsp; &nbsp; &nbsp;&quot;4 5&quot;<br>
~ &nbsp; &nbsp; &nbsp; &nbsp;Option &nbsp; &nbsp; &nbsp;&quot;XAxisMapping&quot; &nbsp; &nbsp; &nbsp; &nbsp;&quot;6 7&quot;<br>
EndSection<br>
<br>
Although I experimented a lot already with this (changing the mapping<br>
buttons and so on...) it just shows no effect. Pasting with middle<br>
button works, scroll does not.<br>
<br>
~From the logs i can tell that the option is read and recongnized :<br>
<br>
...<br>
(**) Mouse0: Device: &quot;/dev/input/mice&quot;<br>
(**) Mouse0: Protocol: &quot;auto&quot;<br>
(**) Option &quot;CorePointer&quot;<br>
(**) Mouse0: always reports core events<br>
(**) Option &quot;Device&quot; &quot;/dev/input/mice&quot;<br>
(==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50<br>
(**) Option &quot;ZAxisMapping&quot; &quot;4 5 6 7&quot;<br>
(**) Mouse0: ZAxisMapping: buttons 4, 5, 6 and 7<br>
(**) Option &quot;EmulateWheel&quot; &quot;on&quot;<br>
(**) Option &quot;EmulateWheelButton&quot; &quot;2&quot;<br>
(**) Option &quot;EmulateWheelTimeout&quot; &quot;200&quot;<br>
(**) Option &quot;XAxisMapping&quot; &quot;6 7&quot;<br>
(**) Mouse0: XAxisMapping: buttons 6 and 7<br>
(**) Option &quot;YAxisMapping&quot; &quot;4 5&quot;<br>
(**) Mouse0: YAxisMapping: buttons 4 and 5<br>
(**) Mouse0: EmulateWheel, EmulateWheelButton: 2, EmulateWheelInertia:<br>
10, EmulateWheelTimeout: 200<br>
(**) Mouse0: Buttons: 11<br>
(**) Mouse0: Sensitivity: 1<br>
...<br>
<br>
Any Ideas ?<br>
<br>
thanks<br>
Thomas<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.7 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org" target="_blank">http://enigmail.mozdev.org</a><br>
<br>
iD8DBQFH/MqQrpEWPKIUt7MRAj7RAJ9e3T7SIichZa7iJCOmIR+tm73QeACgsw/4<br>
3j0KTAG8PUOU6/9BZhU58sk=<br>
=czbA<br>
-----END PGP SIGNATURE-----<br>
<br>
<br>
</blockquote>
<br></div></div>
 &nbsp; &nbsp; &nbsp; &nbsp;Regards,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Oleg<br>
_____________________________________________________________<br><font color="#888888">
Oleg Bartunov, Research Scientist, Head of AstroNet (<a href="http://www.astronet.ru" target="_blank">www.astronet.ru</a>),<br>
Sternberg Astronomical Institute, Moscow University, Russia<br>
Internet: <a href="mailto:oleg@sai.msu.su" target="_blank">oleg@sai.msu.su</a>, <a href="http://www.sai.msu.su/%7Emegera/" target="_blank">http://www.sai.msu.su/~megera/</a><br>
phone: +007(495)939-16-83, +007(495)939-23-83</font><div><div></div><div class="Wj3C7c"><br>
-- <br>
The linux-thinkpad mailing list home page is at:<br>
<a href="http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad" target="_blank">http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>*:-.,_,.-:*&#39;``&#39;*:-.,_,.-:*&#39;``&#39;*:-.,_,.-:*&#39;``&#39;*:-.,_:-.,_,.-:**:-.,_,.<br> Save time... see it my way<br>*:-.,_,.-:*&#39;``&#39;*:-.,_,.-:*&#39;``&#39;*:-.,_,.-:*&#39;``&#39;*:-.,_:-.,_,.-:**:-.,_,.

------=_Part_8461_4816879.1207756070844--