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

Can Mousetrap detect Windows key for the purposes of intercepting Window switching in Electron app? #490

Open
alexbfree opened this issue Oct 20, 2020 · 0 comments

Comments

@alexbfree
Copy link

alexbfree commented Oct 20, 2020

Hi, I have an Electron app in which I would like to intercept

  • Windows Key + R
  • Windows Key + E
  • Windows Key + F
  • Windows Key + D
  • Windows Key + M
  • Windows Key + Tab
  • Windows Key + X

so that I can block them to prevent a user from task switching during an experiment. Is it viable to use Mousetrap for this? Will that be the 'meta' key? Or is this impossible in Mousetrap?
Any suggestions welcome! Thanks.

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

No branches or pull requests

1 participant