D13925: Make remote input sensitivity consistant across device DPIs

Chansol Yang noreply at phabricator.kde.org
Mon Jul 9 19:29:08 BST 2018


chansolyang added a comment.


  Thanks everyone for the feedback.
  
  > Can you please describe how this should be tested?
  
  I used the following method to test this:
  First make sure that in plugin settings > remote input settings, the touchpad sensitivity is reset to Default.
  Move your finger by some exact distance - I've personally used a ruler for this.
  Record the mouse coordinates before and after moving the finger. (`xdotool getmouselocation` may come in handy here)
  Divide the mouse movement by finger movement, and you will have the sensitivity in pixels/inch or pixels/cm.
  If this patch works as intended, the calculated sensitivity will remain constant across all devices and DPIs.
  
  I personally tested this with three devices: Galaxy Tab 7.0 (170dpi), Galaxy S3 (270dpi), and LG G5 (565dpi).
  When tested, all three devices had a consistent sensitivity of about 220px/inch (=85px/cm). It would be great if others could confirm that they are also able to get this value of ~220px/inch.
  
  > On my phone, I changed the DPI then rebooted, and the behavior on this patch vs. master is about the same: Moving my finger from one side of the screen to the other produces about the same amount of cursor movement regardlesss of the DPI (Although it is a very different amount between this patch and master)
  
  That is the intended behavior: the same amount(distance) of physical finger movement should always result in the same amount of cursor movement, regardless of device or dpi settings. However, I'm not sure why master has the same behavior; the original bug report <https://bugs.kde.org/show_bug.cgi?id=391029> stated that changing the device resolution(DPI) changed the mouse sensitivity. Can you make sure that you actually changed the display resolution, not font sizes or scaling?
  
  > I get about the same amount of cursor movement for one full phone screen on the phone or on the tablet.
  
  So, what you're saying is: moving your finger across the entire screen, both on the phone and on the tablet, produces the same amount of cursor movement? What are the physical screen dimensions of the two devices?

REPOSITORY
  R225 KDE Connect - Android application

REVISION DETAIL
  https://phabricator.kde.org/D13925

To: chansolyang, #kde_connect
Cc: sredman, nicolasfella, kdeconnect, Leptopoda, timothyc, jdvr, yannux, Danial0_0, johnq, Pitel, adeen-s, SemperPeritus, ndavis, daniel.z.tg, jeanv, seebauer, bugzy, MayeulC, menasshock, ach, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20180709/2360a5b9/attachment.html>


More information about the KDEConnect mailing list