-
Shifts to Parentheses
Shifts, when pressed alone, type parentheses. When used with other keys they're normal shifts.
private.shifts_to_parens
--KeyOverlaidModifier-- KeyCode::SHIFT_R, ModifierFlag::SHIFT_R | ModifierFlag::NONE, KeyCode::SHIFT_R, KeyCode::KEY_0, ModifierFlag::SHIFT_L
--KeyOverlaidModifier-- KeyCode::SHIFT_L, ModifierFlag::SHIFT_L | ModifierFlag::NONE, KeyCode::SHIFT_L, KeyCode::KEY_9, ModifierFlag::SHIFT_R
--KeyToKey-- KeyCode::SHIFT_L, ModifierFlag::SHIFT_R, KeyCode::KEY_0, ModifierFlag::SHIFT_L, KeyCode::KEY_9, ModifierFlag::SHIFT_L
--KeyToKey-- KeyCode::SHIFT_R, ModifierFlag::SHIFT_L, KeyCode::KEY_9, ModifierFlag::SHIFT_L, KeyCode::KEY_0, ModifierFlag::SHIFT_L
--KeyToKey-- KeyCode::SPACE, ModifierFlag::SHIFT_R, KeyCode::KEY_0, ModifierFlag::SHIFT_L, KeyCode::SPACE
-
Mouse rocker spaceflight
Rocking the mouse wheel side to side changes to the adjacent Space.
private.spaceflight
--KeyToKey-- PointingButton::BUTTON4, KeyCode::CURSOR_RIGHT, VK_CONTROL
--KeyToKey-- PointingButton::BUTTON5, KeyCode::CURSOR_LEFT, VK_CONTROL
-
Keynote mouse
Various remappings to use my wireless mouse as a Keynote remote.
private.keynote
--KeyToKey-- PointingButton::BUTTON4, KeyCode::BRACKET_LEFT
--KeyToKey-- PointingButton::BUTTON5, KeyCode::BRACKET_RIGHT
--KeyToKey-- PointingButton::MIDDLE, KeyCode::CURSOR_DOWN, ModifierFlag::SHIFT_R
-
LaTeX Keyboard
With Control_L as a modifier, overlay all the alphabetic keys with characters useful for LaTeX (and programming in general).
private.latex_keyboard
--KeyOverlaidModifier-- KeyCode::CONTROL_L, KeyCode::CONTROL_R, KeyCode::CONTROL_R
--KeyOverlaidModifier-- KeyCode::RETURN, KeyCode::CONTROL_R, KeyCode::RETURN
--KeyToKey-- KeyCode::OPTION_L, KeyCode::CONTROL_L
--KeyToKey-- KeyCode::QUOTE, ModifierFlag::CONTROL_R, KeyCode::QUOTE, ModifierFlag::SHIFT_R
--KeyToKey-- KeyCode::SPACE, ModifierFlag::CONTROL_R, KeyCode::SPACE
--KeyToKey-- KeyCode::DELETE, ModifierFlag::CONTROL_R, KeyCode::DELETE
--KeyToKey-- KeyCode::Q, ModifierFlag::CONTROL_R, KeyCode::KEY_1, ModifierFlag::SHIFT_R
--KeyToKey-- KeyCode::W, ModifierFlag::CONTROL_R, KeyCode::KEY_2, ModifierFlag::SHIFT_R
--KeyToKey-- KeyCode::E, ModifierFlag::CONTROL_R, KeyCode::COMMA, ModifierFlag::SHIFT_R
--KeyToKey-- KeyCode::R, ModifierFlag::CONTROL_R, KeyCode::BRACKET_LEFT
--KeyToKey-- KeyCode::T, ModifierFlag::CONTROL_R, KeyCode::KEY_4, ModifierFlag::SHIFT_R
--KeyToKey-- KeyCode::Y, ModifierFlag::CONTROL_R, KeyCode::QUOTE
--KeyToKey-- KeyCode::U, ModifierFlag::CONTROL_R, KeyCode::BRACKET_RIGHT
--KeyToKey-- KeyCode::I, ModifierFlag::CONTROL_R, KeyCode::DOT, ModifierFlag::SHIFT_R
--KeyToKey-- KeyCode::O, ModifierFlag::CONTROL_R, KeyCode::MINUS, ModifierFlag::SHIFT_R
--KeyToKey-- KeyCode::P, ModifierFlag::CONTROL_R, KeyCode::BACKQUOTE
--KeyToKey-- KeyCode::A, ModifierFlag::CONTROL_R, KeyCode::KEY_5, ModifierFlag::SHIFT_R
--KeyToKey-- KeyCode::S, ModifierFlag::CONTROL_R, KeyCode::KEY_9, ModifierFlag::SHIFT_R
--KeyToKey-- KeyCode::D, ModifierFlag::CONTROL_R, KeyCode::BRACKET_LEFT, ModifierFlag::SHIFT_R
--KeyToKey-- KeyCode::F, ModifierFlag::CONTROL_R, KeyCode::EQUAL
--KeyToKey-- KeyCode::G, ModifierFlag::CONTROL_R, KeyCode::KEY_8, ModifierFlag::SHIFT_R
--KeyToKey-- KeyCode::H, ModifierFlag::CONTROL_R, KeyCode::EQUAL, ModifierFlag::SHIFT_R
--KeyToKey-- KeyCode::J, ModifierFlag::CONTROL_R, KeyCode::BACKSLASH
--KeyToKey-- KeyCode::K, ModifierFlag::CONTROL_R, KeyCode::BRACKET_RIGHT, ModifierFlag::SHIFT_R
--KeyToKey-- KeyCode::L, ModifierFlag::CONTROL_R, KeyCode::KEY_0, ModifierFlag::SHIFT_R
--KeyToKey-- KeyCode::SEMICOLON, ModifierFlag::CONTROL_R, KeyCode::SEMICOLON, ModifierFlag::SHIFT_R
--KeyToKey-- KeyCode::X, ModifierFlag::CONTROL_R, KeyCode::SLASH
--KeyToKey-- KeyCode::C, ModifierFlag::CONTROL_R, KeyCode::KEY_6, ModifierFlag::SHIFT_R
--KeyToKey-- KeyCode::V, ModifierFlag::CONTROL_R, KeyCode::KEY_7, ModifierFlag::SHIFT_R
--KeyToKey-- KeyCode::B, ModifierFlag::CONTROL_R, KeyCode::KEY_3, ModifierFlag::SHIFT_R
--KeyToKey-- KeyCode::N, ModifierFlag::CONTROL_R, KeyCode::QUOTE, ModifierFlag::SHIFT_R
--KeyToKey-- KeyCode::M, ModifierFlag::CONTROL_R, KeyCode::MINUS
--KeyToKey-- KeyCode::COMMA, ModifierFlag::CONTROL_R, KeyCode::BACKSLASH, ModifierFlag::SHIFT_R
--KeyToKey-- KeyCode::DOT, ModifierFlag::CONTROL_R, KeyCode::BACKQUOTE, ModifierFlag::SHIFT_R
--KeyToKey-- KeyCode::SLASH, ModifierFlag::CONTROL_R | ModifierFlag::SHIFT_L, KeyCode::KEY_2, ModifierFlag::OPTION_L, KeyCode::E, ModifierFlag::OPTION_L, KeyCode::KEY_1, ModifierFlag::OPTION_L, KeyCode::KEY_8, ModifierFlag::OPTION_L
--KeyToKey-- KeyCode::SLASH, ModifierFlag::CONTROL_R | ModifierFlag::SHIFT_R, KeyCode::KEY_2, ModifierFlag::OPTION_L, KeyCode::E, ModifierFlag::OPTION_L, KeyCode::KEY_1, ModifierFlag::OPTION_L, KeyCode::KEY_8, ModifierFlag::OPTION_L
--KeyToKey-- KeyCode::SLASH, ModifierFlag::CONTROL_R, KeyCode::KEY_2, ModifierFlag::OPTION_L, KeyCode::KEY_0, ModifierFlag::OPTION_L, KeyCode::KEY_3, ModifierFlag::OPTION_L, KeyCode::D, ModifierFlag::OPTION_L
--KeyToKey-- KeyCode::BRACKET_RIGHT, ModifierFlag::CONTROL_R, KeyCode::KEY_2, ModifierFlag::OPTION_L, KeyCode::KEY_7, ModifierFlag::OPTION_L, KeyCode::KEY_1, ModifierFlag::OPTION_L, KeyCode::KEY_3, ModifierFlag::OPTION_L
--KeyToKey-- KeyCode::BACKSLASH, ModifierFlag::CONTROL_R, KeyCode::KEY_2, ModifierFlag::OPTION_L, KeyCode::KEY_7, ModifierFlag::OPTION_L, KeyCode::KEY_1, ModifierFlag::OPTION_L, KeyCode::KEY_7, ModifierFlag::OPTION_L