brianmaierjr
12/1/2015 - 12:25 AM

Remap Caps Lock to Emoji on Mac

Remap Caps Lock to Emoji on Mac

<?xml version="1.0"?>
<root>
	<item>
		<name>F19 to Emoji</name>
		<appendix>(F19 to Emoji)</appendix>
		<identifier>private.f192emoji</identifier>
		<autogen>
			--KeyToKey--
			KeyCode::F19,
			KeyCode::SPACE, ModifierFlag::COMMAND_L | ModifierFlag::CONTROL_L
		</autogen>
	</item>
</root>

How to remap the caps lock key to the emoji selector on Mac

  1. Go to System Preferences -> Keyboard -> Modifier Keys...
  2. Change “Caps Lock” to “No action”
  3. Install Seil
  4. Change the Caps Lock key in Seil to keyCode 80 (F19)
  5. Install Karabiner
  6. Open Karabiner and go to Misc & Uninstall -> Open private.xml
  7. Copy the contents of this gist's example to the XML file and save
  8. In Karabiner, go to Change Keys -> Reload XML
  9. Enable “F19 to Emoji”