Bind a key combination to caps lock in OS X

0

I've bound both caps lock and the ctrl key to "ctrl" in OSX, but I would like to be able to press a modifier key along with caps lock to turn on caps lock—say, for example, shift+caps lock. How might I be able to accomplish this?

Kevin C.

Posted 2013-10-07T16:50:37.340

Reputation: 101

Answers

1

You could use a private.xml like this with KeyRemap4MacBook:

<?xml version="1.0"?>
<root>
  <item>
    <name>test</name>
    <identifier>test</identifier>
    <autogen>__KeyToKey__ KeyCode::CONTROL_L, ModifierFlag::SHIFT_L, KeyCode::CAPSLOCK</autogen>
  </item>
</root>

SHIFT_L can also be replaced with FN.

Lri

Posted 2013-10-07T16:50:37.340

Reputation: 34 501