From ddccf548529485178fd53e241b773e880287efdb Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Mon, 1 May 2017 18:09:41 -0400 Subject: Clean up Karabiner configuration --- Library/Application Support/Karabiner/private.xml | 314 ++++++++++++++-------- 1 file changed, 200 insertions(+), 114 deletions(-) (limited to 'Library/Application Support/Karabiner/private.xml') diff --git a/Library/Application Support/Karabiner/private.xml b/Library/Application Support/Karabiner/private.xml index 3c04f267..1d6e8194 100644 --- a/Library/Application Support/Karabiner/private.xml +++ b/Library/Application Support/Karabiner/private.xml @@ -1,117 +1,203 @@ - - 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 square brackets and braces - __KeyToKey__ - KeyCode::BRACKET_LEFT, ModifierFlag::NONE, - KeyCode::BRACKET_LEFT, ModifierFlag::SHIFT_L - - __KeyToKey__ - KeyCode::BRACKET_LEFT, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT | ModifierFlag::NONE, - KeyCode::BRACKET_LEFT, - - __KeyToKey__ - KeyCode::BRACKET_RIGHT, ModifierFlag::NONE, - KeyCode::BRACKET_RIGHT, ModifierFlag::SHIFT_L - - __KeyToKey__ - KeyCode::BRACKET_RIGHT, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT | ModifierFlag::NONE, - KeyCode::BRACKET_RIGHT, - - - 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 - - - - FC660C - 0x0134 - - - - Leopold Media Control - private.leopold_media_control - DeviceVendor::LEOPOLD, DeviceProduct::FC660C - - Rebind Ctrl+Help to Volume Up - __KeyToKey__ KeyCode::HELP, ModifierFlag::CONTROL_R, ConsumerKeyCode::VOLUME_UP - - Rebind Ctrl+Delete to Volume Down - __KeyToKey__ KeyCode::FORWARD_DELETE, ModifierFlag::CONTROL_R, ConsumerKeyCode::VOLUME_DOWN - - Rebind Help to Play/Pause - __KeyToKey__ KeyCode::HELP, ConsumerKeyCode::MUSIC_PLAY - - Rebind Delete to Next - __KeyToKey__ KeyCode::FORWARD_DELETE, ConsumerKeyCode::MUSIC_NEXT - - - - Back/Forward Mouse Buttons to Space Switching - private.bfmb_spaces - DeviceVendor::LOGITECH, DeviceProduct::LOGITECH_UNIFYING_0xc52b - - Button 4 to Control+L - __KeyToKey__ PointingButton::BUTTON4, KeyCode::L, ModifierFlag::CONTROL_L - - Button 5 to Control+H - __KeyToKey__ PointingButton::BUTTON5, KeyCode::H, ModifierFlag::CONTROL_L - + + Inverted shift + private.inverted_shift + + + ModifierFlag::COMMAND_L, + ModifierFlag::COMMAND_R, + ModifierFlag::CONTROL_L, + ModifierFlag::CONTROL_R, + ModifierFlag::OPTION_L, + ModifierFlag::OPTION_R, + ModifierFlag::FN, + + + Swap minus and underscore + + + __KeyToKey__ + KeyCode::MINUS, ModifierFlag::NONE, + KeyCode::MINUS, ModifierFlag::SHIFT_L + + + __KeyToKey__ + KeyCode::MINUS, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT, + 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, + KeyCode::BACKSLASH + + + Swap square brackets and braces + + + __KeyToKey__ + KeyCode::BRACKET_LEFT, ModifierFlag::NONE, + KeyCode::BRACKET_LEFT, ModifierFlag::SHIFT_L + + + __KeyToKey__ + KeyCode::BRACKET_LEFT, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT, + KeyCode::BRACKET_LEFT + + + __KeyToKey__ + KeyCode::BRACKET_RIGHT, ModifierFlag::NONE, + KeyCode::BRACKET_RIGHT, ModifierFlag::SHIFT_L + + + __KeyToKey__ + KeyCode::BRACKET_RIGHT, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT, + KeyCode::BRACKET_RIGHT + + + 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 + + + + FC660C + 0x0134 + + + + Leopold media control + private.leopold_media_control + DeviceVendor::LEOPOLD, DeviceProduct::FC660C + + Bind ctrl help and delete to volume control + + + __KeyToKey__ + KeyCode::HELP, ModifierFlag::CONTROL_R, + ConsumerKeyCode::VOLUME_UP + + + __KeyToKey__ + KeyCode::FORWARD_DELETE, ModifierFlag::CONTROL_R, + ConsumerKeyCode::VOLUME_DOWN + + + Bind help and delete to music play and next + + __KeyToKey__ KeyCode::HELP, ConsumerKeyCode::MUSIC_PLAY + __KeyToKey__ KeyCode::FORWARD_DELETE, ConsumerKeyCode::MUSIC_NEXT + -- cgit 1.4.1