Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • KDE Connect Android KDE Connect Android
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Bugzilla
    • Bugzilla
  • Merge requests 34
    • Merge requests 34
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • Network
  • KDE Connect AndroidKDE Connect Android
  • Merge requests
  • !229

Open
Created Jan 22, 2021 by Radu OR@xyz
  • Report abuse
Report abuse

[MousePad] Add GyroMouse. Control mouse pointer using the gyroscope sensor.

  • Overview 38
  • Commits 50
  • Changes 6

Summary

Implement a Magic Mouse controller. Use the device gyroscope sensor to control the mouse pointer position on the screen. This was inspired by the LG TV magic remote: https://www.youtube.com/watch?v=uoxYO9DslkA

The implementation adds an on/off switch for it as well.

It works very well on devices with good gyroscope sensors, but it is a bit wobbly on my 8 years old galaxy s4.

Test Plan

How to test:

  1. make sure your kdeconnect is paired with a PC.
  2. open "Remote Input" plugin.
  3. move your device around and observe the mouse pointer moving on the screen.
  4. next to the menu button you should also see the enable/disable icon.

The mouse cursor on your screen should behave exactly like the cursor shown in this LG TV info video: https://www.youtube.com/watch?v=uoxYO9DslkA

Edited Jan 27, 2021 by Radu OR
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: magic_mause