Implementation of Gyro mouse for Android app
oana radu
oanaradu32 at gmail.com
Tue Dec 13 02:27:40 GMT 2022
Hi, and thanks for taking interest in this feature :). The KDEConnect
running on my device has this code running on it. and it is still amazing!
I do have one or two suggestions:
- I think the mouse protocol implemented by kdeConnect needs to change to
make it more versatile. I think it should implement the button_down,
button_up events instead of the MouseClick, MouseDoubleClick etc. I tried
to do some painting with the gyro mouse and it just doesn't work.
- To make it more intuitive to use, the code should do a sensor meld such
that it can take into account the direction of gravity and keep the
left/right directions perpendicular to the gravity vector. So the pointing
will work even when the device is tilted.
- The presentation remote has a gyro pointer as well. So maybe this
functionality could be implemented as a core functionality and then exposed
to the plugins.
Thanks.
On Mon, Dec 12, 2022 at 5:02 PM Philip Cohn-Cort <cliabhach at gmail.com>
wrote:
> Hi all,
>
> I noticed that we have three open MRs ([229], [285], [302]) to address
> the same new feature: the ability to use the Gyroscope and
> Accelerometer of an Android device as a remote input method.
>
> It would be great to get this feature added to the codebase, so I
> wanted to start a discussion here about the best approach, and to
> decide on the implementation details.
>
> ~Philip Cohn-Cort
>
> 229:
> https://invent.kde.org/network/kdeconnect-android/-/merge_requests/229
> 285:
> https://invent.kde.org/network/kdeconnect-android/-/merge_requests/285
> 302:
> https://invent.kde.org/network/kdeconnect-android/-/merge_requests/302
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20221212/4ab33f1e/attachment.htm>
More information about the KDEConnect
mailing list