[ltp] trackpoint middle click scrolling went away
Johannes Lichtenberger
linux-thinkpad@linux-thinkpad.org
Wed, 06 Jan 2010 20:44:14 +0100
On Tue, 2010-01-05 at 23:49 +0000, Arian Kuschki wrote:
> I have my middle button scrolling on my t61 by using these option lines
> in xorg.conf file where InputDevice section describes mouse:
>
> Section "InputDevice"
> # generated from default
> Identifier "Mouse0"
> Driver "mouse"
> Option "Protocol" "auto"
> Option "Device" "/dev/psaux"
>
> # trackpoint scrolling
> Option "EmulateWheel" "yes"
> Option "EmulateWheelButton" "2"
> Option "Emulate3Buttons" "yes"
>
> Option "ZAxisMapping" "4 5"
>
> EndSection
>
> Thanks, I am travelling at the moment but will try and report back as
> soon as I can. In general I suspect this way of doing it is going to
> be deprecated (with udev and/ devicekit configuration replacing these
> lines in xorg.conf), or is that wrong?
I think it shouldn't even work, if linux uses devkit or HAL, but I also
added the following to /etc/hal/fdi/policy/trackpoint.fdi:
<?xml version="1.0" encoding="utf-8"?>
<deviceinfo version="0.2">
<device>
<!-- Trackpoint -->
<match key="input.product" string="TPPS/2 IBM TrackPoint">
<merge key="input.x11_options.EmulateWheel" type="string">true</merge>
<merge key="input.x11_options.EmulateWheelButton" type="string">2</merge>
<merge key="input.x11_options.EmulateWheelTimeout" type="string">200</merge>
<merge key="input.x11_options.YAxisMapping" type="string">4 5</merge>
<merge key="input.x11_options.XAxisMapping" type="string">6 7</merge>
</match>
</device>
</deviceinfo>
regards,
Johannes