D14720: Add acceleration to remote input cursor

Chansol Yang noreply at phabricator.kde.org
Fri Aug 10 09:37:30 BST 2018


chansolyang created this revision.
Restricted Application added a project: KDE Connect.
Restricted Application added a subscriber: kdeconnect.
chansolyang requested review of this revision.

REVISION SUMMARY
  This patch adds cursor acceleration to KDEConnect's remote input plugin. The cursor movement is now scaled down if the movement is slow, and scaled up if the movement is fast.
  The acceleration is implemented on the android side. An additional setting was added to the android app's Remote Control plugin preferences, allowing the user to choose the strength of the acceleration, or to disable the acceleration completely.

TEST PLAN
  After installing this revision on your android device, go to the remote input page and start using the mousepad. Cursor acceleration should be enabled by default.
  Check if the cursor acceleration is intuitive and easy to use. Also, try tweaking the acceleration in the Remote input settings in the Plugin settings menu.

REPOSITORY
  R225 KDE Connect - Android application

BRANCH
  mouseaccel (branched from master)

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

AFFECTED FILES
  res/values/strings.xml
  res/xml/mousepadplugin_preferences.xml
  src/org/kde/kdeconnect/Plugins/MousePadPlugin/MousePadActivity.java
  src/org/kde/kdeconnect/Plugins/MousePadPlugin/MousePadPlugin.java
  src/org/kde/kdeconnect/Plugins/MousePadPlugin/PointerAccelerationProfile.java
  src/org/kde/kdeconnect/Plugins/MousePadPlugin/PointerAccelerationProfileFactory.java

To: chansolyang
Cc: kdeconnect, rmenezes, julioc, Leptopoda, timothyc, jdvr, yannux, Danial0_0, johnq, Pitel, adeen-s, SemperPeritus, ndavis, daniel.z.tg, jeanv, seebauer, bugzy, MayeulC, menasshock, tctara, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20180810/e90b8645/attachment.html>


More information about the KDEConnect mailing list