Review Request 123621: Fix reverse scroll setting in Mouse KCM

Kai Uwe Broulik kde at privat.broulik.de
Mon May 4 08:18:54 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123621/#review79832
-----------------------------------------------------------


I was wondering, is there no xcb style API for XInput?


kcms/input/mouse.cpp (line 759)
<https://git.reviewboard.kde.org/r/123621/#comment54674>

    QX11Info::display()


- Kai Uwe Broulik


On Mai 4, 2015, 3:15 vorm., Yue Liu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/123621/
> -----------------------------------------------------------
> 
> (Updated Mai 4, 2015, 3:15 vorm.)
> 
> 
> Review request for Plasma.
> 
> 
> Repository: plasma-desktop
> 
> 
> Description
> -------
> 
> The old swap-button-map method for reverse scroll doesn't work for Qt5, this patch uses XInput2 api to negate "Evdev Scroll Distance" for device with real scroll wheel, and swap "Evdev Wheel Emulation Axes" when device uses emulated scroll wheel, such as Thinkpad Trackpoint.
> 
> 
> Diffs
> -----
> 
>   kcms/input/CMakeLists.txt 6cbe207 
>   kcms/input/mouse.cpp 1450de8 
> 
> Diff: https://git.reviewboard.kde.org/r/123621/diff/
> 
> 
> Testing
> -------
> 
> built on archlinux and tested by replacing kcm_input.so, new kcm works on my machine.
> 
> 
> Thanks,
> 
> Yue Liu
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20150504/3c3e05f0/attachment-0001.html>


More information about the Plasma-devel mailing list