SharpKeys is not available for Mac but there are some alternatives that runs on macOS with similar functionality. The best Mac alternative is Karabiner Elements, which is both free and Open Source. If that doesn't suit you, our users have ranked more than 10 alternatives to SharpKeys and seven of them are available for Mac so hopefully you can find a suitable replacement. Other interesting Mac alternatives to SharpKeys are Ukelele (Free), xmodmap (Free, Open Source), Seil (Free, Open Source) and DoubleCommand (Free, Open Source).
Karabiner, previously called KeyRemap4MacBook, is a very powerful keyboard remapper for Mac OS X. In addition to simple key remapping, it has special remapping modes like Emacs-mode, SandS-mode (Space and Shift).
The macOS supports an XML-based format for keyboard layouts (.keylayout files). However, modifying keyboard layouts—let alone creating entirely new keyboard layouts, such as for a new script—by directly editing the XML text is tedious and error-prone.
The xmodmap program is used to edit and display the keyboard modifier map and keymap table that are used by client applications to convert event keycodes into keysyms. It is a part of the X.Org project.
PCKeyboardHack can change caps lock key behavior. For example, changing caps lock key to delete Key. PCKeyboardHack can activate International Keys on Non-Apple keyboard. == Utility for the caps lock key and some international keys in PC keyboards.
Remap Keyboard lets you modify your Mac keyboard layout by changing the behavior of each key to work like another. You can apply mapping to all your keyboards or just the selected keyboard (e.g. only the MacBook keyboard or only the USB keyboard).