Created
September 12, 2015 08:39
-
-
Save JrGoodle/79f40243901a0cc50471 to your computer and use it in GitHub Desktop.
XML Configuration for Karabiner to enable iOS-like Caps Lock by double-tapping Shift key
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Change shift key x2 to caps lock.</name> | |
<identifier>private.shift_x2_to_capslock</identifier> | |
<block> | |
<modifier_only>ModifierFlag::CAPSLOCK</modifier_only> | |
<autogen> | |
__KeyOverlaidModifier__ | |
KeyCode::SHIFT_L, | |
KeyCode::SHIFT_L, | |
KeyCode::CAPSLOCK, | |
</autogen> | |
<autogen> | |
__KeyOverlaidModifier__ | |
KeyCode::SHIFT_R, | |
KeyCode::SHIFT_R, | |
KeyCode::CAPSLOCK, | |
</autogen> | |
</block> | |
<autogen> | |
__DoublePressModifier__ | |
KeyCode::SHIFT_L, | |
KeyCode::SHIFT_L, | |
KeyCode::CAPSLOCK, | |
</autogen> | |
<autogen> | |
__DoublePressModifier__ | |
KeyCode::SHIFT_R, | |
KeyCode::SHIFT_R, | |
KeyCode::CAPSLOCK, | |
</autogen> | |
</item> | |
</root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment