mousetrap
mousetrap copied to clipboard
Can Mousetrap detect Windows key for the purposes of intercepting Window switching in Electron app?
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.