Monitor active input source and disable esc haptic when external keyboard used
Here's some code that claims to tell when you switch keyboards:
https://github.com/jeantil/autokbisw/blob/master/Sources/autokbisw/IOKeyEventMonitor.swift
Here's some code that claims to tell when you switch keyboards:
https://github.com/jeantil/autokbisw/blob/master/Sources/autokbisw/IOKeyEventMonitor.swift