Skip to content

Commit 62d948d

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

File tree

9 files changed

+147
-11
lines changed

9 files changed

+147
-11
lines changed

Pods/ShortcutRecorder/Library/SRCommon.h

Lines changed: 37 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: 31 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: 9 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: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Pods/ShortcutRecorder/Library/SRShortcut.h

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/Library/SRShortcut.m

Lines changed: 58 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)