aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRadex2012-12-03 22:53:39 +0100
committerRadex2012-12-03 22:53:39 +0100
commit9239e1c98d5baa52b1ecc78335cc1d9064ea9bd6 (patch)
treef380fd030de0077ec8f00466461e4849152484ca
parent2c688abec970839f0119265fc27db6191406d367 (diff)
downloadMASShortcut-9239e1c98d5baa52b1ecc78335cc1d9064ea9bd6.tar.bz2
Make F17-F19 work
-rw-r--r--MASShortcut.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/MASShortcut.m b/MASShortcut.m
index b004e48..b53a1a6 100644
--- a/MASShortcut.m
+++ b/MASShortcut.m
@@ -105,6 +105,9 @@ NSString *const MASShortcutModifierFlags = @"ModifierFlags";
case kVK_F14: return MASShortcutChar(0xF711);
case kVK_F15: return MASShortcutChar(0xF712);
case kVK_F16: return MASShortcutChar(0xF713);
+ case kVK_F17: return MASShortcutChar(0xF714);
+ case kVK_F18: return MASShortcutChar(0xF715);
+ case kVK_F19: return MASShortcutChar(0xF716);
case kVK_Space: return MASShortcutChar(0x20);
default: return @"";
}
@@ -133,6 +136,9 @@ NSString *const MASShortcutModifierFlags = @"ModifierFlags";
case kVK_F14: return @"F14";
case kVK_F15: return @"F15";
case kVK_F16: return @"F16";
+ case kVK_F17: return @"F17";
+ case kVK_F18: return @"F18";
+ case kVK_F19: return @"F19";
case kVK_Space: return NSLocalizedString(@"Space", @"Shortcut glyph name for SPACE key");
case kVK_Escape: return MASShortcutChar(kMASShortcutGlyphEscape);
case kVK_Delete: return MASShortcutChar(kMASShortcutGlyphDeleteLeft);