Karabiner Elements is a keyboard customization software for macOS that lets you customize various aspects of your Mac keyboard. Using it, you can modify the behavior of pretty much all sorts of keys on your keyboard. everything from the regular/standard keys to both function and modifier keys.