Skip to content

Commit d12ccb7

Browse files
committed
feat: add function key modifier
1 parent 012e3b5 commit d12ccb7

File tree

8 files changed

+109
-10
lines changed

8 files changed

+109
-10
lines changed

Pods/ShortcutRecorder/Library/SRCommon.h

Lines changed: 35 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Pods/ShortcutRecorder/Library/SRCommon.m

Lines changed: 30 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Pods/ShortcutRecorder/Library/SRModifierFlagsTransformer.m

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Pods/ShortcutRecorder/Library/SRRecorderControl.m

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Pods/ShortcutRecorder/Library/SRShortcut.m

Lines changed: 27 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Pods/ShortcutRecorder/Library/SRShortcutAction.m

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Pods/ShortcutRecorder/Resources/en.lproj/ShortcutRecorder.strings

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ui/generic-components/CustomRecorderControl.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Cocoa
22
import ShortcutRecorder
33

4-
let allowedModifiers = NSEvent.ModifierFlags(arrayLiteral: [.command, .control, .option, .shift])
4+
let allowedModifiers = NSEvent.ModifierFlags(arrayLiteral: [.command, .control, .option, .shift, .function])
55

66
class CustomRecorderControl: RecorderControl, RecorderControlDelegate {
77
var clearable: Bool!

0 commit comments

Comments
 (0)