Merge pull request #1512 from hokein/add-win-key

Add `Super` key support in global-shortcut API.
This commit is contained in:
Cheng Zhao 2015-05-07 10:35:56 +08:00
commit 9d54092f41
4 changed files with 15 additions and 0 deletions

View file

@ -14,6 +14,9 @@ On Linux and Windows, the `Command` key would not have any effect, you can
use `CommandOrControl` which represents `Command` on OS X and `Control` on
Linux and Windows to define some accelerators.
The `Super` key is mapped to the `Windows` key on Windows and Linux and
`Cmd` on OS X.
## Available modifiers
* `Command` (or `Cmd` for short)
@ -21,6 +24,7 @@ Linux and Windows to define some accelerators.
* `CommandOrControl` (or `CmdOrCtrl` for short)
* `Alt`
* `Shift`
* `Super`
## Available key codes