Skip to content

Commit

Permalink
- Added F13 as a power key replacement option
Browse files Browse the repository at this point in the history
 - Set Powerkey to use F13. Then set your favorite app to perform a special function when F13 is pressed.
 - Fixes #7
  • Loading branch information
pkamb committed Aug 23, 2013
1 parent bc27d7d commit 99f4cc2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions PowerKey/PKPreferencesController.m
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ - (NSMenu *)powerKeyReplacementsMenu
tab.tag = kVK_Tab;
[powerKeyOptions addItem:tab];

NSMenuItem *f13 = [[NSMenuItem alloc] initWithTitle:@"F13" action:NULL keyEquivalent:@""];
f13.tag = kVK_F13;
[powerKeyOptions addItem:f13];

return powerKeyOptions;
}

Expand Down

0 comments on commit 99f4cc2

Please sign in to comment.