-
-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add Mouse Trackpad mode and gesture like laptop #5
Comments
I have tried to implement it but there is a synchronization issue which sort of put me off. Basically, VNC servers do not report the pointer coordinates to client when they change on server side (unless the client decides to draw the pointer locally). So client has to rely on where it sent the last pointer event, which becomes outdated if the pointer is moved without going through the client. As for the gestures, aren't they already like a laptop? |
I'm so used to this when I previously use RealVNC Viewer. Also, some VNC servers like TigerVNC set the VNC cursor bitmap (yes, VNC has a dedicated cursor bitmap, as seen in RealVNC Viewer) to the X11 cursor bitmap, it also automatically syncs the X and Y positions to the X11 cursor position. So, it certainly not an issue for TigerVNC. I want this feature in AVNC. I felt like AVNC is the most complete VNC viewer because it has so many features I needed in a VNC viewer, in addition of useful features like server discovery and PiP. |
Sorry, accidentally closed! |
Yes, I know that (please read my first comment). You can still find some remains of my first attempt. Nevertheless, I will try again to implement it by remembering the last pointer position we sent any event to. I am not implementing client-side cursor drawing for now though. Not because I dislike it, but because it is too much nontrivial change with the current rendering code of AVNC. |
Hi all, I have an early version of this feature ready for testing. Please try it, and let me know if it works as expected. Test APK: app-test.zip How to enable touchpad mode: What you can test: Known issues: |
Greetings @gujjwal00 . Once again, thank you very much for your commitment to the community. I did the test with the samsung trackpad (keyboard cover). Single click and double click working perfectly. The movement too. Mistake What happens? Screen_Recording_20211223-183745_AVNC.mp4 |
Hi @zequinh4 , this issue is about different modes of finger gestures, and should not affect hardware touchpad. What you are experiencing might be a different bug, so I have opened a separate issue for it. Let's discuss it there. |
I have implemented trackpad/touchpad mode. It should be available on F-Droid in 2-3 days. To activate it, disable Commit: c29b843. |
please add trackpad mode, its hard to operating with direct touch..
The text was updated successfully, but these errors were encountered: