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?

1 Answer 1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.