To solve _this_bug_ as the description states it is probably much simpler: We should scale the number of integer wheel events sent to Qt according to the float magnitude of the Mir vscroll axis. So QtMir should accumulate vscroll values as a float and only emit them to Qt each time that value ticks over an integer value.
That will correct the relative scrolling distances being disproportionate between mice and touchpads. ** Changed in: qtmir (Ubuntu) Assignee: (unassigned) => Daniel van Vugt (vanvugt) ** Also affects: qtmir Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1605513 Title: Touchpad scrolling is disproportionately faster than mouse wheel scrolling To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1605513/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs