Merge lp:~andreas-pokorny/mir/fix-1496814 into lp:mir
Proposed by
Andreas Pokorny
Status: | Merged |
---|---|
Approved by: | Daniel van Vugt |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2950 |
Proposed branch: | lp:~andreas-pokorny/mir/fix-1496814 |
Merge into: | lp:mir |
Diff against target: |
79 lines (+19/-4) 1 file modified
3rd_party/android-input/android/frameworks/base/services/input/InputReader.cpp (+19/-4) |
To merge this branch: | bzr merge lp:~andreas-pokorny/mir/fix-1496814 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel van Vugt | Approve | ||
Kevin DuBois (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Alan Griffiths | Approve | ||
Review via email: mp+271626@code.launchpad.net |
Commit message
Fix missing relative cursor movement information for touchpads
Since touchpads emit multi touch events that have to be translated to get to relative cursor movement they are handled by a different InputMapper than mice. To enable unity8 cursors on touchpads too, this change extends the various branches of touchpad gesture interpretation to also emit the relative change.
Description of the change
This is hopefully the last fix inside the android input stack. As soon as we turn libinput into the default input backend (which may or may not happen with 0.17) this is no longer needed. I am proposing this change so that any qtmir work on top of lp:mir can happen with a touchpad..
To post a comment you must log in.
No tests?
The code looks plausible but I don't have the kit to check or tests to review.
Approving on the basis that we're not expecting to support for long and it is at worst harmless.