Skip to content

Commit

Permalink
FIX: Function key is not Fn key.
Browse files Browse the repository at this point in the history
  • Loading branch information
niw committed Dec 15, 2017
1 parent 460c16c commit 944e086
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HapticKey/HTKAppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,14 @@ - (void)_htk_main_loadStatusItem
NSMenu * const eventTypeMenu = [[NSMenu alloc] init];

NSMenuItem * const functionKeyEventTypeMenuItem = [[NSMenuItem alloc] init];
functionKeyEventTypeMenuItem.title = @"ESC and Fn1, Fn2, etc. Keys";
functionKeyEventTypeMenuItem.title = @"ESC and F1, F2, etc. Keys";
functionKeyEventTypeMenuItem.action = @selector(_htk_action_didSelectModeMenuItem:);
functionKeyEventTypeMenuItem.target = self;
[eventTypeMenu addItem:functionKeyEventTypeMenuItem];
self.functionKeyEventTypeMenuItem = functionKeyEventTypeMenuItem;

NSMenuItem * const tapGestureEventTypeMenuItem = [[NSMenuItem alloc] init];
tapGestureEventTypeMenuItem.title = @"All taps on Touch Bar";
tapGestureEventTypeMenuItem.title = @"All Taps on Touch Bar";
tapGestureEventTypeMenuItem.action = @selector(_htk_action_didSelectModeMenuItem:);
tapGestureEventTypeMenuItem.target = self;
[eventTypeMenu addItem:tapGestureEventTypeMenuItem];
Expand Down

0 comments on commit 944e086

Please sign in to comment.