Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
destroytoday committed Dec 19, 2010
1 parent ac9e922 commit 5e6bed9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.textile
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ var openHotkey:Hotkey = hotkeyManager.createHotkey("command+o");
<pre>
// char-based hotkeys are case-sensitive, so
new Hotkey("command+f") != new Hotkey("command+F");
new Hotkey("command+F") == new Hotkey("command+shift+f");
new Hotkey("command+F") == new Hotkey("command+shift+" + Keyboard.F);

// for case-insensitive hotkeys, use Keyboard keyCodes
// for modifier-specific hotkeys, use Keyboard keyCodes
new Hotkey("command+" + Keyboard.F);
new Hotkey("command+shift+" + Keyboard.F);
</pre>

<pre>
Expand Down

0 comments on commit 5e6bed9

Please sign in to comment.