[enhancement] Mir lacks relative mouse support
Bug #1276322 reported by
Brandon Schaefer
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Medium
|
Robert Carr | ||
mir (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Mir lacks relative mouse support, as well as a way to warp the mouse. This is a problem when it comes to SDL as quite a few games depend on these features.
SDL bug report:
https:/
This is the only thing that is blocking full SDL Mir support.
Related branches
lp://staging/~mir-team/mir/relative-pointer-events
- PS Jenkins bot (community): Approve (continuous-integration)
- Chris Halse Rogers: Approve
- Kevin DuBois (community): Approve
- Andreas Pokorny: Pending requested
- Cemil Azizoglu: Pending requested
-
Diff: 356 lines (+120/-17)17 files modified3rd_party/android-input/android/frameworks/base/services/input/InputReader.cpp (+3/-0)
3rd_party/android-input/android/frameworks/base/services/input/InputTransport.cpp (+3/-2)
include/client/mir/events/event_builders.h (+8/-0)
include/client/mir_toolkit/events/input/pointer_event.h (+6/-1)
include/test/mir/test/event_matchers.h (+14/-0)
src/client/event_printer.cpp (+2/-0)
src/client/events/event_builders.cpp (+14/-1)
src/client/input/android/android_input_lexicon.cpp (+3/-1)
src/client/input/input_event.cpp (+4/-0)
src/include/common/mir/events/event_private.h (+2/-0)
src/server/input/android/input_sender.cpp (+2/-0)
src/server/input/android/input_translator.cpp (+11/-7)
src/server/input/surface_input_dispatcher.cpp (+3/-2)
tests/acceptance-tests/test_client_input.cpp (+34/-0)
tests/mir_test_framework/fake_input_device_impl.cpp (+3/-1)
tests/unit-tests/input/android/test_android_input_sender.cpp (+1/-1)
tests/unit-tests/input/android/test_input_translator.cpp (+7/-1)
description: | updated |
Changed in mir: | |
assignee: | nobody → Chris Halse Rogers (raof) |
milestone: | none → 0.1.5 |
status: | New → Triaged |
Changed in mir: | |
importance: | Undecided → Medium |
summary: |
- Mir lacks relative mouse support + [enhancement] Mir lacks relative mouse support |
tags: | added: cursor enhancement |
Changed in mir: | |
milestone: | 0.1.5 → 0.1.6 |
tags: | added: input |
Changed in mir: | |
assignee: | Chris Halse Rogers (raof) → Robert Carr (robertcarr) |
milestone: | none → 0.15.0 |
status: | Triaged → In Progress |
Changed in mir (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in mir: | |
status: | Fix Committed → Fix Released |
Changed in mir (Ubuntu): | |
assignee: | nobody → aalosman (aalosman) |
Changed in mir (Ubuntu): | |
assignee: | aalosman (aalosman) → nobody |
To post a comment you must log in.
Android-input gives as absolute pointer data only. So if you want relative data it will need to be synthesised. I suggest it would be better to synthesise this in SDL than Mir itself.