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

Pass back x/y of click in Absolute move subscriptions #10

Open
evilC opened this issue Mar 31, 2018 · 0 comments
Open

Pass back x/y of click in Absolute move subscriptions #10

evilC opened this issue Mar 31, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@evilC
Copy link
Owner

evilC commented Mar 31, 2018

Both button and move data can be present in mouse updates, especially in Absolute mode.
At the moment, when a click happens, the coordinates of that click are never passed back via a callback, because State is first checked, and if non-zero, movement is never processed.

Two solutions seem possible:

  1. Move to passing a more stroke-like object instead of just state or x/y
  2. Remove the ELSE clauses from the checks in the mouse processing loop, and process movement before clicks.
@evilC evilC added the enhancement New feature or request label Mar 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant