Karabiner is great, but it's not super.
The way to code rules is not the best in Karabiner, and I was wondering, if one wanted to do the same thing Karabiner does, meaning implement a keyboard & mouse listener to override keys at the lowest level possible on a MacOS, what/how could it be done?
Can this be done in Swift? What language? What platform?
Other Applications that run on MacOS like Intellij, Keyboard Maestro and so forth are able to listen but on a much higher level with an inability to differentiate between left and right shift for example, while Karabiner can.
How does Karabiner do it in the first place? Is there a better way today?