Skip to content

Commit

Permalink
Fix for Monterey
Browse files Browse the repository at this point in the history
  • Loading branch information
creasty committed Dec 3, 2021
1 parent ffaf8e6 commit b337928
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions keyboard/Handlers/NavigationHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
Expand Down

0 comments on commit b337928

Please sign in to comment.