From b33792834e45c7c7e001da80548075c1acdfea90 Mon Sep 17 00:00:00 2001 From: Yuki Iwanaga Date: Fri, 3 Dec 2021 21:25:05 +0900 Subject: [PATCH] Fix for Monterey --- keyboard/Handlers/NavigationHandler.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/keyboard/Handlers/NavigationHandler.swift b/keyboard/Handlers/NavigationHandler.swift index cb0e6fa..04a06f9 100644 --- a/keyboard/Handlers/NavigationHandler.swift +++ b/keyboard/Handlers/NavigationHandler.swift @@ -83,14 +83,14 @@ final class NavigationHandler: Handler, ApplicationLaunchable { if hasWitch { emitter.emit(keyCode: .tab, flags: [.maskControl, .maskAlternate], action: .both) } else { - emitter.emit(keyCode: .f1, flags: [.maskCommand], action: .both) + emitter.emit(keyCode: .f1, flags: [.maskCommand, .maskSecondaryFn], action: .both) } return true - case [.b], [.p]: + case [.b]: if hasWitch { emitter.emit(keyCode: .tab, flags: [.maskControl, .maskAlternate, .maskShift], action: .both) } else { - emitter.emit(keyCode: .f1, flags: [.maskCommand, .maskShift], action: .both) + emitter.emit(keyCode: .f1, flags: [.maskCommand, .maskShift, .maskSecondaryFn], action: .both) } return true case [.m]: