MultiVNC is a cross-platform Multicast-enabled VNC viewer based on LibVNCClient. The desktop version runs on Unix, Mac OS X and Windows. There also is an Android version.
GNU General Public License v3.0
447
stars
65
forks
source link
Panning with physical mouse much slower than with Touch input #199
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
Increase the hardcoded delta? (but touch relative input will be faster, too fast?)
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.
Somehow set a flag for absolute input and make pan speed higher depending on that?
Problem statement
Both input ways use panToMouse() but:
panToMouse()
Possible Solutions