Bug 371791 - Add natural scrolling support
Summary: Add natural scrolling support
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: libinput (show other bugs)
Version: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-28 17:19 UTC by David Strobach
Modified: 2016-11-03 13:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.8.4
mgraesslin: Wayland+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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