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

ability to simulate touches with keyboard #6

Open
dmalan opened this issue Aug 26, 2018 · 1 comment
Open

ability to simulate touches with keyboard #6

dmalan opened this issue Aug 26, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@dmalan
Copy link
Member

dmalan commented Aug 26, 2018

Helpful for testing.

@dmalan dmalan added the enhancement New feature or request label Aug 26, 2018
@dmalan dmalan changed the title ability to simulate 2-finger touches with shift + click ability to simulate touches with keyboard Aug 27, 2018
@LincePotiguara
Copy link

I noticed that metaKey is used to simulate diferent touches events.
On Windows this key opens the Start menu which is too annoying.

I suggest to map to other key like Ctrl or Alt by adding a second check in the mc.on() function.
ev.srcEvent.altKey or ev.srcEvent.ctrlKey should work.

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

4 participants