Skip to content
  • Chansol Yang's avatar
    Add acceleration to remote input cursor · 6db7ffd1
    Chansol Yang authored and Albert Vaca Cintora's avatar Albert Vaca Cintora committed
    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.
    
    Reviewers: #kde_connect, albertvaka
    
    Reviewed By: #kde_connect, albertvaka
    
    Subscribers: albertvaka, kdeconnect
    
    Tags: #kde_connect
    
    Differential Revision: https://phabricator.kde.org/D14720
    6db7ffd1