KDE

KDE Connect Android: Adjust the touchpad sensitivity

For this task you will need to have KDE Connect running on an Android phone and on a Plasma 5 desktop. You can grab both sources from here:

To build the Android project you can use Android Studio or Gradle, while for the desktop side I recommend KDevelop or just CMake.

Once you have both apps running, you will be able to connect both devices and start using KDE Connect.

One of the features of KDE Connect is to use your phone screen as a touchpad to control the mouse cursor on your computer screen. Currently, this feature has some configuration options, like swapping the buttons for left-handed people. In this task we want to add a new setting to change the sensitivity of the touchpad (that is: the speed you move the cursor from your phone). We can implement this using a ListPreference element with a list of values: 1 (slowest), 2, 3 (default), 4 and 5 (fastest). Selecting one should affect the speed at which the mouse moves when using this feature.

To complete this task you should:

  • Attach a screenshot of the new setting.
  • Attach a .patch file with the code changes, or submit it through review board.

Task tags

  • kde
  • android
  • java
  • kdeconnect

Students who completed this task

Imran Tatriev

Task type

  • code Code
close

2015