Make remote input sensitivity consistant across device DPIs

Authored by chansolyang on Jul 7 2018, 8:27 PM.

Description

Make remote input sensitivity consistant across device DPIs

Summary:
KDEConnect's Remote Input feature does not take display DPI into account, resulting in inconsistent mouse sensitivities for devices with different DPIs.
This revision aims to fix that by dividing the mouse delta with the relative DPI of the current device. By doing so, the same amount of finger movement should produce the same amount of cursor movement, regardless of the device's DPI.

Addresses the following bug:
BUG: 391029

Reviewers: KDE Connect, nicolasfella

Reviewed By: KDE Connect, nicolasfella

Subscribers: sredman, nicolasfella, kdeconnect

Tags: KDE Connect

Differential Revision: https://phabricator.kde.org/D13925

Details

Committed
nicolasfellaJul 21 2018, 11:32 AM
Reviewer
KDE Connect
Differential Revision
D13925: Make remote input sensitivity consistant across device DPIs
Parents
R225:4f3f24dc9fff: GIT_SILENT made messages (after extraction)
Branches
Unknown
Tags
Unknown