I would like to do the following with karabiner, i am trying for the past hour, and couldn't get it to work. I want
ESCAPE key to work as ESCAPE, when it is pressed and released.
When ESCAPE key is held down, it should work as CONTROL_L.
This is what I came up with, after many attempts, based on looking through the sample.xml.
<?xml version="1.0"?> <root> <item> <name>Change HoldingEscape to Control_L.</name> <identifier>private.holdingEscape_to_Control-L</identifier> <autogen>__HoldingKeyToKey__ KeyCode::ESCAPE, KeyCode::VK_NONE, KeyCode::CONTROL_L, Option::NOREPEAT</autogen> </item> </root>