Bug#823777: libinput10: Scroll wheel emulation is on by default, with no apparent way to turn it off
Control: reassign -1 xserver-xorg-input-libinput
Control: forcemerge -1 823709
On 08/05/16 22:34, George Caswell wrote:
> Package: libinput10
> Version: 1.2.4-1
> Severity: normal
> Tags: upstream
>
> My system is a Thinkpad with a trackpoint device. I updated my X server using
> apt, and when I tried using Blender I discovered I could no longer use my
> middle mouse button as such. Scroll wheel events were being generated instead.
>
> I was unable to find anything in /usr/share/X11/xorg.conf.d that was activating
> scroll wheel emulation, and my efforts to disable scroll wheel emulation using
> xorg.conf.d (by adding 'Option "EmulateWheel" "off"' to various files where
> pointer device classes were being set up) failed to be effective.
>
>>From an online search for the problem it seems that this is a design choice
> built into libinput. Apparently it can be disabled by running xinput but not
> permanently via configuration files. From the libinput docs on "Scrolling":
>
> "On-button scrolling is enabled by default for pointing sticks. This prevents
> middle-button dragging; all motion events while the middle button is down are
> converted to scroll events."
>
> It can be disabled by this call to xinput:
> xinput --set-prop 'TPPS/2 IBM TrackPoint' 'libinput Button Scrolling Button' 0
>
> Placing that call in .xsessionrc solves the immediate problem and allows me to
> use Blender effectively on my laptop again. But I'd like this setting to be
> system-wide. I recognize that for many users, having middle-button scroll wheel
> emulation is probably way more useful than a middle mouse button, but for me
> the opposite is true. Whatever default is chosen, this should be configurable
> at the system level and visible in xorg.conf.d.
This looks similar to #823709.
If you can send this upstream that'd be great:
https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=input/libinput
Cheers,
Emilio
Reply to: