[systemsettings] [Bug 350688] Mouse acceleration setting has no effect with libinput

Roman Gilg bugzilla_noreply at kde.org
Sat Mar 31 15:48:25 BST 2018


https://bugs.kde.org/show_bug.cgi?id=350688

Roman Gilg <subdiff at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/pla
                   |                            |sma-desktop/6bb8cde96083f9b
                   |                            |ee6a20bbcffba7bd67c36c78b

--- Comment #24 from Roman Gilg <subdiff at gmail.com> ---
Git commit 6bb8cde96083f9bee6a20bbcffba7bd67c36c78b by Roman Gilg.
Committed on 31/03/2018 at 14:45.
Pushed by romangilg into branch 'master'.

[Mouse KCM] Add X11 libinput exclusive backend and UI

Summary:
This patch splits up the current X11 backend into one for systems with
installed X libinput driver and systems with only evdev driver.

The evdev backend is used together with the old QWidget based UI. The
libinput backend is based on the KWin Wayland one and controlled by a
very similar QML based UI. One difference is that values are always
propagated to all pointer like devices and can not be set for
individual devices.

As for the evdev backend values are saved to a config file in the user
directory and reapplied on every session start.

Note that the libinput backend always takes precedence to the evdev one.
If an user wants to force the evdev backend, the X libinput driver needs
to be removed.

Depends on D11468

{F5757944}

Test Plan: Tested X session with and without libinput driver.

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: davidedmundson, hein, mart, abetts, ngraham, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D11469

M  +3    -3    kcms/input/CMakeLists.txt
M  +5    -1    kcms/input/backends/x11.cmake
M  +4    -10   kcms/input/backends/x11/evdev_settings.cpp
M  +3    -6    kcms/input/backends/x11/evdev_settings.h
A  +63   -0    kcms/input/backends/x11/libinput_settings.cpp     [License: GPL
(v2+)]
C  +9    -29   kcms/input/backends/x11/libinput_settings.h [from:
kcms/input/backends/x11/evdev_settings.h - 054% similarity]
M  +44   -385  kcms/input/backends/x11/x11_backend.cpp
M  +7    -47   kcms/input/backends/x11/x11_backend.h
C  +16   -235  kcms/input/backends/x11/x11_evdev_backend.cpp [from:
kcms/input/backends/x11/x11_backend.cpp - 050% similarity]
C  +12   -24   kcms/input/backends/x11/x11_evdev_backend.h [from:
kcms/input/backends/x11/x11_backend.h - 066% similarity]
A  +54   -0    kcms/input/backends/x11/x11_libinput_backend.cpp     [License:
GPL (v2+)]
A  +54   -0    kcms/input/backends/x11/x11_libinput_backend.h     [License: GPL
(v2+)]
A  +241  -0    kcms/input/backends/x11/x11_libinput_dummydevice.cpp    
[License: GPL (v2+)]
A  +273  -0    kcms/input/backends/x11/x11_libinput_dummydevice.h     [License:
GPL (v2+)]
M  +1    -1    kcms/input/inputbackend.cpp
M  +3    -1    kcms/input/inputbackend.h
M  +6    -4    kcms/input/kapplymousetheme.cpp
M  +5    -5    kcms/input/kcm/configcontainer.cpp
M  +6    -1    kcms/input/kcm/libinput/libinput_config.cpp
A  +251  -0    kcms/input/kcm/libinput/main_deviceless.qml     [License: GPL
(v2+)]
M  +1    -0    kcms/input/kcm/resources.qrc
M  +12   -32   kcms/input/kcm/xlib/kcmmouse.ui
M  +2    -68   kcms/input/kcm/xlib/xlib_config.cpp
M  +2    -2    kcms/input/kcm/xlib/xlib_config.h

https://commits.kde.org/plasma-desktop/6bb8cde96083f9bee6a20bbcffba7bd67c36c78b

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list