[Differential] [Request, 781 lines] D3479: [libinput] Add more support for touchpads in preparation for the new touchpad KCM
subdiff (Roman Gilg)
noreply at phabricator.kde.org
Thu Nov 24 00:21:28 UTC 2016
subdiff created this revision.
subdiff added reviewers: KWin, Plasma.
subdiff added subscribers: KWin, plasma-devel.
subdiff set the repository for this revision to rKWIN KWin.
subdiff added a project: KWin.
Restricted Application edited projects, added Plasma; removed KWin.
Restricted Application added a subscriber: kwin.
REVISION SUMMARY
This patch is made in preparation for the touchpad KCM for Wayland. Synopsis:
- KWin has a Libinput version requirement bump to 1.5
- new `isTouchpad` property to distinguish touchpads from mice
- new `lmrTapButtonMap` property and its related default and support properties (since Libinput 1.5 - swap 2 finger tap: right click and 3 finger tap: middle click )
- new `disableWhileTyping` property and its related default property to complement the existing support property
- new `pointerAccelerationProfile` property and its related default and support properties (switch between flat and adaptive acceleration)
- new `defaultPointerAcceleration` property to complement the existing `pointerAcceleration` property
- save to config mechanism added for new propertys and `pointerAcceleration`
- added new D-Bus interface `org.kde.KWin.InputDeviceManager` and method `devicesSysNames` in order to query all available devices
- changing mouse acceleration in the mouse KCM doesn't influence touchpads anymore
TEST PLAN
Wrote all autotests for new properties and did manual testing in Wayland and with a prototype of the new touchpad KCM.
REPOSITORY
rKWIN KWin
REVISION DETAIL
https://phabricator.kde.org/D3479
AFFECTED FILES
CMakeLists.txt
autotests/libinput/device_test.cpp
autotests/libinput/mock_libinput.cpp
autotests/libinput/mock_libinput.h
libinput/connection.cpp
libinput/connection.h
libinput/device.cpp
libinput/device.h
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: subdiff, #kwin, #plasma
Cc: plasma-devel, kwin, #kwin, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161124/ebb797a5/attachment.html>
More information about the Plasma-devel
mailing list