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


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

<?xml version="1.0"?>
    <autogen>__KeyToKey__ KeyCode::CONTROL_L, ModifierFlag::SHIFT_L, KeyCode::CAPSLOCK</autogen>

SHIFT_L can also be replaced with FN.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .