From de2c6438649c41d72820758ee50f2e71153d64de Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Wed, 18 Nov 2015 18:19:30 -0500 Subject: Add inverted shift to Karabiner --- Library/Application Support/Karabiner/private.xml | 57 +++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/Library/Application Support/Karabiner/private.xml b/Library/Application Support/Karabiner/private.xml index 6add38fa..753a73ed 100644 --- a/Library/Application Support/Karabiner/private.xml +++ b/Library/Application Support/Karabiner/private.xml @@ -1,5 +1,62 @@ + + Inverted Shift + private.inverted_shift + + + ModifierFlag::COMMAND_L, + ModifierFlag::COMMAND_R, + ModifierFlag::CONTROL_L, + ModifierFlag::CONTROL_R, + ModifierFlag::FN, + ModifierFlag::OPTION_L, + ModifierFlag::OPTION_R, + + + Swap minus and underscore + __KeyToKey__ + KeyCode::MINUS, ModifierFlag::NONE, + KeyCode::MINUS, ModifierFlag::SHIFT_L + + __KeyToKey__ + KeyCode::MINUS, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT | ModifierFlag::NONE, + KeyCode::MINUS, + + + Swap backslash and pipe + __KeyToKey__ + KeyCode::BACKSLASH, ModifierFlag::NONE, + KeyCode::BACKSLASH, ModifierFlag::SHIFT_L + + __KeyToKey__ + KeyCode::BACKSLASH, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT | ModifierFlag::NONE, + KeyCode::BACKSLASH, + + + Swap numbers and symbols + __KeyToKey__ KeyCode::KEY_1, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT, KeyCode::KEY_1 + __KeyToKey__ KeyCode::KEY_2, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT, KeyCode::KEY_2 + __KeyToKey__ KeyCode::KEY_3, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT, KeyCode::KEY_3, + __KeyToKey__ KeyCode::KEY_4, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT, KeyCode::KEY_4 + __KeyToKey__ KeyCode::KEY_5, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT, KeyCode::KEY_5 + __KeyToKey__ KeyCode::KEY_6, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT, KeyCode::KEY_6 + __KeyToKey__ KeyCode::KEY_7, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT, KeyCode::KEY_7 + __KeyToKey__ KeyCode::KEY_8, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT, KeyCode::KEY_8 + __KeyToKey__ KeyCode::KEY_9, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT, KeyCode::KEY_9 + __KeyToKey__ KeyCode::KEY_0, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT, KeyCode::KEY_0 + __KeyToKey__ KeyCode::KEY_1, KeyCode::KEY_1, ModifierFlag::SHIFT_L + __KeyToKey__ KeyCode::KEY_2, KeyCode::KEY_2, ModifierFlag::SHIFT_L + __KeyToKey__ KeyCode::KEY_3, KeyCode::KEY_3, ModifierFlag::SHIFT_L + __KeyToKey__ KeyCode::KEY_4, KeyCode::KEY_4, ModifierFlag::SHIFT_L + __KeyToKey__ KeyCode::KEY_5, KeyCode::KEY_5, ModifierFlag::SHIFT_L + __KeyToKey__ KeyCode::KEY_6, KeyCode::KEY_6, ModifierFlag::SHIFT_L + __KeyToKey__ KeyCode::KEY_7, KeyCode::KEY_7, ModifierFlag::SHIFT_L + __KeyToKey__ KeyCode::KEY_8, KeyCode::KEY_8, ModifierFlag::SHIFT_L + __KeyToKey__ KeyCode::KEY_9, KeyCode::KEY_9, ModifierFlag::SHIFT_L + __KeyToKey__ KeyCode::KEY_0, KeyCode::KEY_0, ModifierFlag::SHIFT_L + + LEOPOLD 0x0853 -- cgit 1.4.1