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
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
.