Skip to content
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

Panning with physical mouse much slower than with Touch input #199

Open
bk138 opened this issue Jul 7, 2022 · 0 comments
Open

Panning with physical mouse much slower than with Touch input #199

bk138 opened this issue Jul 7, 2022 · 0 comments

Comments

@bk138
Copy link
Owner

bk138 commented Jul 7, 2022

Problem statement

Both input ways use panToMouse() but:

  • touch input is relative and is allowed to move off screen, this way increasing the delta that gets computed in panToMouse()
  • physical mouse input can by definition not move off screen as it's absolute, so the delta is always 5, which is way too slow.

Possible Solutions

  1. Increase the hardcoded delta? (but touch relative input will be faster, too fast?)
  2. Disallow relative/touch input to go offscreen? Would be here. This would make pan speed the same for relative and absolute input. But actually, higher pan speed by higher touch/relative fling speed is a feature which makes the app feel snappier.
  3. Somehow set a flag for absolute input and make pan speed higher depending on that?
@bk138 bk138 self-assigned this Jul 7, 2022
@bk138 bk138 added this to To do in Android: Polish the VNC session UX via automation Jul 7, 2022
@bk138 bk138 removed their assignment Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant