Skip to content

Commit

Permalink
Remove code which was incorrectly interpreting the Fn key modifier
Browse files Browse the repository at this point in the history
This is set when *any* fn key is pressed, not just *the* fn key
Fixes #270
  • Loading branch information
akitchen committed Oct 31, 2023
1 parent 7638d2a commit 692dc83
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions keycastr/KCEventTransformer.m
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,6 @@ - (id)transformedValue:(KCKeycastrEvent *)event

NSMutableString *mutableResponse = [NSMutableString string];

if (_modifiers & kCGEventFlagMaskSecondaryFn)
{
[mutableResponse appendString:@"fn "];
}

if (_modifiers & NSEventModifierFlagControl)
{
[mutableResponse appendString:kControlKeyString];
Expand Down

0 comments on commit 692dc83

Please sign in to comment.