[ltp] Mouse Wheel Emulation

Michael Gaber linux-thinkpad@linux-thinkpad.org
Thu, 10 Apr 2008 12:30:10 +0200


Thomas Kahle schrieb:
> Hi,
> 
>> first you should check if evdev somehow grabs the mouse and unmerge it, 
>> if it does.
> 
> In fact, this is the case. On the other hand i don't want to unmerge it, 
> since I use it for my keyboard and now every of the little special keys 
> works perfectly.

what "little special keys" ? if you mean the audio-buttons on the lower 
right: wey work well with x11-drivers/xf86-input-keyboard and my xorg.conf.

so i killed evdev and use -keyboard and -mouse and they work exactly the 
way I'd like them to

> 
> It's not an xorg.conf thing, actually the x-server 1.4.0.90 ignores 
> xorg.conf and relies on hal to be informed about the devices...
> 
> So, I know how to configure hal, the remaining question is, whether it 
> is possible to get scrolling with evdev driver, or not...
> 
> thanks
> Thomas
> 
>> then you could check my yorg.conf, which enables scrolling with the 
>> middle button in 4 directions
>>
>> Thomas Kahle schrieb:
>>> 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
> 
>