Input event modification chaining
Karabiner-Elements treats input events by the following order:
- Catch events from hardware.
- Apply Simple Modifications.
- Apply Complex Modifications.
- Apply Function Keys Modifications. (change f1…f12 keys to media controls)
- Apply System Settings > Keyboard > Keyboard Shortcuts… > Modifier Keys.
- Post events to applications via a virtual keyboard.