Karabiner-Elements
A powerful and stable keyboard customizer for macOS. Both Intel-based Macs and Apple Silicon Macs are supported. macOS 10.15.6 or later is required. 🔔 Notes for Mac computers with Apple Silicon (Apple M1) users macOS Big Sur 11.2 or earlier has an issue within memory management and HID device handling that causes kernel panics on Mac computers with Apple Silicon.
https://karabiner-elements.pqrs.org