Merge lp:~vanvugt/mir/fix-1522673 into lp:mir
Status: | Rejected |
---|---|
Rejected by: | Daniel van Vugt |
Proposed branch: | lp:~vanvugt/mir/fix-1522673 |
Merge into: | lp:mir |
Diff against target: |
97 lines (+14/-12) 4 files modified
include/test/mir/test/event_matchers.h (+1/-1) playground/demo-shell/window_manager.cpp (+6/-5) src/platforms/evdev/libinput_device.h (+2/-2) tests/unit-tests/input/evdev/test_libinput_device.cpp (+5/-4) |
To merge this branch: | bzr merge lp:~vanvugt/mir/fix-1522673 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andreas Pokorny (community) | Needs Fixing | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Alan Griffiths | Abstain | ||
Alexandros Frantzis (community) | Needs Information | ||
Review via email: mp+279551@code.launchpad.net |
Commit message
Restore usable mouse wheel support (LP: #1522673)
With the introduction of libinput, mouse wheel (vscroll) events became
backwards and 15x larger than they were with Android Input. So this
reverses that change such that existing toolkits and apps using Mir
don't need modification.
Android Input: Up = +1.0 Down= -1.0
libinput: Up =-15.0 Down=+15.0
I have also modified mir_proving_server to become insensitive to any
similar magnitude changes in future.
Unmerged revisions
- 3177. By Daniel van Vugt
-
And protect Alt+mousewheel from magnitude changes too.
- 3176. By Daniel van Vugt
-
Restore usable mouse wheel support (LP: #1522673)
With the introduction of libinput, mouse wheel (vscroll) events became
backwards and 15x larger than they were with Android Input. So this
reverses that change such that existing toolkits and apps using Mir
don't need modification.Android Input: Up = +1.0 Down= -1.0
libinput: Up =-15.0 Down=+15.0I have also modified mir_proving_server to become insensitive to any
similar magnitude changes in future.
Can we safely assume that the vscroll values (-15,+15) produced by libinput are the same for all devices?