Skip to content

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

Radu OR requested to merge xyz/kdeconnect-android:magic_mause into master

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 by Radu OR

Merge request reports