I get that you guys don't do it by intention (why would you?), but I definitely notice a change with Alfred running and without having it running.
Sure thing.
1: Create a new Cocoa project (I'm using Swift here, but shouldn't make a difference).
2: Replace the ViewController.swift's code with:
import Cocoa
class ViewController: NSViewController {
override func viewDidLoad() {
super.viewDidLoad()
NSEvent.addLocalMonitorForEvents(matching: [.keyUp, .keyDown, .flagsChanged], handler: onKeyEvent)
// Do any additional setup after loading the view.
}
private func onKeyEvent(_ event: NSEvent) -> NSEvent? {
print(event.keyCode)
return event
}
override var representedObject: Any? {
didSet {
// Update the view, if already loaded.
}
}
}
3: Observe console output when Alfred is running and when it is not running. Use CMD + ALT + \ (Key with keycode 42, to be precisely) to reproduce the issue.
I've made sure that it isn't BTTs fault, no other apps like Karabiner or Keyboard Maestro are installed.