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

new frontend: click-to-reconnect + accurate coordinates on HiDPI pad #290

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

lyonbot
Copy link
Contributor

@lyonbot lyonbot commented Sep 29, 2024

this is a PR extracted from #276 , and depends on #289

  1. refractor with modern frontend toolchains
  2. may reconnect without refreshing whole page
  3. smooth cursor coord (on HiDPI tablets, web pixel is larger than physical pixel, hence using clientX is not accurate, see fig1)


fig1. blue line is from clientX/Y; red line is fitted from physical pixel screenX

@lyonbot lyonbot changed the title refractor frontend + reconnect in-place + smooth cursor coord feat: reconnect in-place + smooth cursor coord (+refractor frontend) Sep 29, 2024
@lyonbot lyonbot mentioned this pull request Sep 29, 2024
2 tasks
@lyonbot lyonbot changed the title feat: reconnect in-place + smooth cursor coord (+refractor frontend) new frontend: click-to-reconnect + accurate coordinates on HiDPI pad Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant