Merge lp:~brandontschaefer/mir/lp-1252498-fix into lp:mir
Proposed by
Brandon Schaefer
Status: | Merged |
---|---|
Approved by: | Daniel van Vugt |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1230 |
Proposed branch: | lp:~brandontschaefer/mir/lp-1252498-fix |
Merge into: | lp:mir |
Diff against target: |
97 lines (+21/-1) 3 files modified
include/shared/mir_toolkit/event.h (+9/-1) src/shared/input/android/android_input_lexicon.cpp (+3/-0) tests/unit-tests/input/android/test_android_input_lexicon.cpp (+9/-0) |
To merge this branch: | bzr merge lp:~brandontschaefer/mir/lp-1252498-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel van Vugt | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Kevin DuBois (community) | Approve | ||
Review via email:
|
Commit message
Adds support to the MirMotionEvent under pointer_coordinates called tool_type. This will allow clients to tell what type of tool is being used, from mouse/finger/etc.
Description of the change
The mir event api does not expose what type of tool is for each pointer_cord. Some toolkits need to know the difference between different types of tools.
Adds a new type to pointer_cords, removing an 'int unused' and replacing it with an enum MirMotionToolType.
Adds tests for single pointer events, and multiple.
To post a comment you must log in.
looks okay to me