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

better documenting multiple mouse click modifiers behaviour #445

Open
keszegh opened this issue Oct 21, 2018 · 2 comments
Open

better documenting multiple mouse click modifiers behaviour #445

keszegh opened this issue Oct 21, 2018 · 2 comments

Comments

@keszegh
Copy link
Contributor

keszegh commented Oct 21, 2018

http://docs.giderosmobile.com/reference/gideros/Sprite/Event.MOUSE_DOWN#Event.MOUSE_DOWN
it works with adding them up (as they are powers of two) but this should be in the reference as e.g. if
shift AND ctrl is pressed then
modifiers~=KeyCode.MODIFIER_SHIFT
contrary to what the documentation suggests. so one actually needs to check the appropriate bit of the 'modifiers' value.

@keszegh keszegh changed the title multiple mouse click modifiers better documenting multiple mouse click modifiers behaviour Apr 25, 2019
@mokalux
Copy link
Contributor

mokalux commented May 25, 2020

I have added an example that show case mouse event modifiers:
https://wiki.giderosmobile.com/index.php/Event.MOUSE_DOWN

If that is enough we may close this issue.

@keszegh
Copy link
Contributor Author

keszegh commented Dec 20, 2021

thanks, yet i don't think it makes clear that modifiers are additive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants