karabiner-elements.pqrs.org
Karabiner-Elements is a keyboard customizer for macOS. It offers simple key mappings configured from a GUI, predefined rules that can be imported from the Internet, and support for writing custom rules. Both Intel-based Macs and Apple Silicon Macs are supported.