kwin/autotests/libinput
Roman Gilg fd07b1dc98 [libinput] Change unset of scroll method and acceleration profile
Go for a more intuitive unset behaviour of scroll method and acceleration
profile properties.

Summary:
Unsetting a scroll method should only work, if the scroll method is currently
active. For example when scroll-two-finger is active (i.e. scroll-edge,
scroll-on-button-down is not active):
* unsetting scroll-two-finger should deactivate it and activate no-scroll
* but unsetting for example scroll-edge should _not_ deactivate scroll-two-
  finger and _not_ activate no-scroll

Reworked setting scroll method auto test in order to test it.

Regarding acceleration profiles: Unsetting one, should always switch to the
other possible one as long as both are supported. In this case
LIBINPUT_CONFIG_ACCEL_PROFILE_NONE is not a valid option in contrast to the
definition of the scroll method enums.

Reviewers: #kwin

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D3590
2016-12-06 13:45:54 +01:00
..
CMakeLists.txt [libinput] Load/store device configuration 2016-11-07 13:45:48 +01:00
context_test.cpp [libinput] A not valid LibInput::Context should return -1 as filedescriptor 2016-06-02 16:23:23 +02:00
device_test.cpp [libinput] Change unset of scroll method and acceleration profile 2016-12-06 13:45:54 +01:00
gesture_event_test.cpp [libinput] Add support for gesture events 2016-08-08 09:15:06 +02:00
input_event_test.cpp Support for relative pointer motion events 2016-10-12 11:26:46 +02:00
key_event_test.cpp
mock_libinput.cpp [libinput] Add more support for pointer devices, in particular touchpads 2016-12-02 14:58:56 +01:00
mock_libinput.h [libinput] Add more support for pointer devices, in particular touchpads 2016-12-02 14:58:56 +01:00
mock_udev.cpp
mock_udev.h
pointer_event_test.cpp Support for relative pointer motion events 2016-10-12 11:26:46 +02:00
touch_event_test.cpp