Bug 371791

Summary: Add natural scrolling support
Product: [Plasma] kwin Reporter: David Strobach <lalochcz>
Component: libinputAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal Flags: mgraesslin: Wayland+
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.8.4

Description David Strobach 2016-10-28 17:19:50 UTC
Implemented in libinput since 0.7.0 by:
libinput_device_config_has_natural_scroll
libinput_device_config_set_natural_scroll_enabled
libinput_device_config_get_natural_scroll_enabled
libinput_device_config_scroll_get_default_natural_scroll_enabled
Comment 1 David Strobach 2016-10-28 17:23:02 UTC
Patch:
https://phabricator.kde.org/D3193
Comment 2 David Strobach 2016-10-28 17:35:00 UTC
@Martin: I'll try to extend the device_test.cpp later (I have scroll method implementation at the head of my queue), but I'm not much of a testing guy, so I don't promise anything ;-)
Comment 3 David Strobach 2016-11-03 13:03:56 UTC
Git commit b19341777a566ba4b20485e161c5eeb25b521d0a by David Strobach.
Committed on 03/11/2016 at 13:02.
Pushed by strobach into branch 'Plasma/5.8'.

[libinput] Add natural scrolling support

Wraps libinput
libinput_device_config_has_natural_scroll
libinput_device_config_set_natural_scroll_enabled
libinput_device_config_get_natural_scroll_enabled
libinput_device_config_scroll_get_default_natural_scroll_enabled

Differential Revision: https://phabricator.kde.org/D3193
FIXED-IN: 5.8.4

M  +27   -0    autotests/libinput/mock_libinput.cpp
M  +4    -0    autotests/libinput/mock_libinput.h
M  +16   -0    libinput/device.cpp
M  +17   -0    libinput/device.h

http://commits.kde.org/kwin/b19341777a566ba4b20485e161c5eeb25b521d0a