Skip to content

Instantly share code, notes, and snippets.

@IvanRublev
Last active April 20, 2024 15:53
Show Gist options
  • Save IvanRublev/6e2137874625084b9a6dcf5e8f8c903e to your computer and use it in GitHub Desktop.
Save IvanRublev/6e2137874625084b9a6dcf5e8f8c903e to your computer and use it in GitHub Desktop.
Keyboard remapping to program in Swift language for Karabiner-Elements.

This German keyboard layout is for faster typing of Swift programming language lexemes. It represents keys remaps for Apple Magic Keyboard. Most number keys are remapped to symbols. To enter numbers use Opt + number or numpad.

This layout is designed for macOS Sierra and higher. Keys remaps are specified in karabiner.json configuration file for a Karabiner-Elements app 12.1.0 and higher. Karabiner-Elements configuration should be saved to ~/.config/karabiner/karabiner.json.

To train touch-typing with this layout you can use:

Mac keyboard symbols can be found here https://apple.stackexchange.com/a/55729


Swift is a programming language and Magic Keyboard is a hardware of Apple Inc. https://www.apple.com/

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.I

{
"global": {
"ask_for_confirmation_before_quitting": true,
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": false,
"unsafe_ui": false
},
"profiles": [
{
"complex_modifications": {
"parameters": {
"basic.simultaneous_threshold_milliseconds": 50,
"basic.to_delayed_action_delay_milliseconds": 500,
"basic.to_if_alone_timeout_milliseconds": 1000,
"basic.to_if_held_down_threshold_milliseconds": 500,
"mouse_motion_to_scroll.speed": 100
},
"rules": []
},
"devices": [
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"game_pad_swap_sticks": false,
"identifiers": {
"is_game_pad": false,
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 628,
"vendor_id": 1452
},
"ignore": false,
"manipulate_caps_lock_led": true,
"mouse_flip_horizontal_wheel": false,
"mouse_flip_vertical_wheel": false,
"mouse_flip_x": false,
"mouse_flip_y": false,
"mouse_swap_wheels": false,
"mouse_swap_xy": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"game_pad_swap_sticks": false,
"identifiers": {
"is_game_pad": false,
"is_keyboard": false,
"is_pointing_device": true,
"product_id": 628,
"vendor_id": 1452
},
"ignore": true,
"manipulate_caps_lock_led": false,
"mouse_flip_horizontal_wheel": false,
"mouse_flip_vertical_wheel": false,
"mouse_flip_x": false,
"mouse_flip_y": false,
"mouse_swap_wheels": false,
"mouse_swap_xy": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"game_pad_swap_sticks": false,
"identifiers": {
"is_game_pad": false,
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 33424,
"vendor_id": 1452
},
"ignore": false,
"manipulate_caps_lock_led": true,
"mouse_flip_horizontal_wheel": false,
"mouse_flip_vertical_wheel": false,
"mouse_flip_x": false,
"mouse_flip_y": false,
"mouse_swap_wheels": false,
"mouse_swap_xy": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"game_pad_swap_sticks": false,
"identifiers": {
"is_game_pad": false,
"is_keyboard": false,
"is_pointing_device": true,
"product_id": 33424,
"vendor_id": 1452
},
"ignore": true,
"manipulate_caps_lock_led": false,
"mouse_flip_horizontal_wheel": false,
"mouse_flip_vertical_wheel": false,
"mouse_flip_x": false,
"mouse_flip_y": false,
"mouse_swap_wheels": false,
"mouse_swap_xy": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"game_pad_swap_sticks": false,
"identifiers": {
"is_game_pad": false,
"is_keyboard": false,
"is_pointing_device": true,
"product_id": 613,
"vendor_id": 76
},
"ignore": true,
"manipulate_caps_lock_led": false,
"mouse_flip_horizontal_wheel": false,
"mouse_flip_vertical_wheel": false,
"mouse_flip_x": false,
"mouse_flip_y": false,
"mouse_swap_wheels": false,
"mouse_swap_xy": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"game_pad_swap_sticks": false,
"identifiers": {
"is_game_pad": false,
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 620,
"vendor_id": 76
},
"ignore": false,
"manipulate_caps_lock_led": true,
"mouse_flip_horizontal_wheel": false,
"mouse_flip_vertical_wheel": false,
"mouse_flip_x": false,
"mouse_flip_y": false,
"mouse_swap_wheels": false,
"mouse_swap_xy": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"game_pad_swap_sticks": false,
"identifiers": {
"is_game_pad": false,
"is_keyboard": false,
"is_pointing_device": true,
"product_id": 613,
"vendor_id": 1452
},
"ignore": true,
"manipulate_caps_lock_led": false,
"mouse_flip_horizontal_wheel": false,
"mouse_flip_vertical_wheel": false,
"mouse_flip_x": false,
"mouse_flip_y": false,
"mouse_swap_wheels": false,
"mouse_swap_xy": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"game_pad_swap_sticks": false,
"identifiers": {
"is_game_pad": false,
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 620,
"vendor_id": 1452
},
"ignore": false,
"manipulate_caps_lock_led": true,
"mouse_flip_horizontal_wheel": false,
"mouse_flip_vertical_wheel": false,
"mouse_flip_x": false,
"mouse_flip_y": false,
"mouse_swap_wheels": false,
"mouse_swap_xy": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"game_pad_swap_sticks": false,
"identifiers": {
"is_game_pad": false,
"is_keyboard": false,
"is_pointing_device": false,
"product_id": 628,
"vendor_id": 1452
},
"ignore": false,
"manipulate_caps_lock_led": false,
"mouse_flip_horizontal_wheel": false,
"mouse_flip_vertical_wheel": false,
"mouse_flip_x": false,
"mouse_flip_y": false,
"mouse_swap_wheels": false,
"mouse_swap_xy": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"game_pad_swap_sticks": false,
"identifiers": {
"is_game_pad": false,
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 8484,
"vendor_id": 6700
},
"ignore": false,
"manipulate_caps_lock_led": true,
"mouse_flip_horizontal_wheel": false,
"mouse_flip_vertical_wheel": false,
"mouse_flip_x": false,
"mouse_flip_y": false,
"mouse_swap_wheels": false,
"mouse_swap_xy": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
}
],
"fn_function_keys": [
{
"from": {
"key_code": "f1"
},
"to": [
{
"consumer_key_code": "display_brightness_decrement"
}
]
},
{
"from": {
"key_code": "f2"
},
"to": [
{
"consumer_key_code": "display_brightness_increment"
}
]
},
{
"from": {
"key_code": "f3"
},
"to": [
{
"key_code": "mission_control"
}
]
},
{
"from": {
"key_code": "f4"
},
"to": [
{
"key_code": "launchpad"
}
]
},
{
"from": {
"key_code": "f5"
},
"to": [
{
"key_code": "illumination_decrement"
}
]
},
{
"from": {
"key_code": "f6"
},
"to": [
{
"key_code": "illumination_increment"
}
]
},
{
"from": {
"key_code": "f7"
},
"to": [
{
"consumer_key_code": "rewind"
}
]
},
{
"from": {
"key_code": "f8"
},
"to": [
{
"consumer_key_code": "play_or_pause"
}
]
},
{
"from": {
"key_code": "f9"
},
"to": [
{
"consumer_key_code": "fastforward"
}
]
},
{
"from": {
"key_code": "f10"
},
"to": [
{
"consumer_key_code": "mute"
}
]
},
{
"from": {
"key_code": "f11"
},
"to": [
{
"consumer_key_code": "volume_decrement"
}
]
},
{
"from": {
"key_code": "f12"
},
"to": [
{
"consumer_key_code": "volume_increment"
}
]
}
],
"name": "Default profile",
"parameters": {
"delay_milliseconds_before_open_device": 1000
},
"selected": false,
"simple_modifications": [],
"virtual_hid_keyboard": {
"country_code": 0,
"indicate_sticky_modifier_keys_state": true,
"mouse_key_xy_scale": 100
}
},
{
"complex_modifications": {
"parameters": {
"basic.simultaneous_threshold_milliseconds": 50,
"basic.to_delayed_action_delay_milliseconds": 500,
"basic.to_if_alone_timeout_milliseconds": 1000,
"basic.to_if_held_down_threshold_milliseconds": 500,
"mouse_motion_to_scroll.speed": 100
},
"rules": [
{
"description": "Left ⌥ + p -> ↖",
"manipulators": [
{
"from": {
"key_code": "p",
"modifiers": {
"mandatory": [
"left_option",
"left_command"
],
"optional": [
"shift"
]
}
},
"to": [
{
"key_code": "home",
"modifiers": [
"left_option",
"left_command"
]
}
],
"type": "basic"
}
]
},
{
"description": "Left ⌘ -> [",
"manipulators": [
{
"from": {
"key_code": "left_command",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_command",
"lazy": true
}
],
"to_if_alone": [
{
"key_code": "5",
"modifiers": "left_option"
}
],
"type": "basic"
}
]
},
{
"description": "Right ⌘ -> ]",
"manipulators": [
{
"from": {
"key_code": "right_command",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_command",
"lazy": true
}
],
"to_if_alone": [
{
"key_code": "6",
"modifiers": "right_option"
}
],
"type": "basic"
}
]
},
{
"description": "Left ⌃ -> {",
"manipulators": [
{
"from": {
"key_code": "left_control",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [
{
"key_code": "8",
"modifiers": "left_option"
}
],
"type": "basic"
}
]
},
{
"description": "Right ⌃ -> }",
"manipulators": [
{
"from": {
"key_code": "right_control",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_control",
"lazy": true
}
],
"to_if_alone": [
{
"key_code": "9",
"modifiers": "right_option"
}
],
"type": "basic"
}
]
},
{
"description": "Fn + Right ⌥ -> }",
"manipulators": [
{
"from": {
"key_code": "right_option",
"modifiers": {
"mandatory": [
"fn"
]
}
},
"to": [
{
"key_code": "9",
"modifiers": "right_option"
}
],
"type": "basic"
}
]
},
{
"description": "Left ⇧ -> (",
"manipulators": [
{
"from": {
"key_code": "left_shift",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [
{
"key_code": "8",
"modifiers": "left_shift"
}
],
"type": "basic"
}
]
},
{
"description": "Right ⇧ -> )",
"manipulators": [
{
"from": {
"key_code": "right_shift",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_shift",
"lazy": true
}
],
"to_if_alone": [
{
"key_code": "9",
"modifiers": "right_shift"
}
],
"type": "basic"
}
]
},
{
"description": "⌥ + 0 -> 0",
"manipulators": [
{
"from": {
"key_code": "0",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "0"
}
],
"type": "basic"
}
]
},
{
"description": "0 -> =",
"manipulators": [
{
"from": {
"key_code": "0"
},
"to": [
{
"key_code": "0",
"modifiers": [
"left_shift"
]
}
],
"type": "basic"
}
]
},
{
"description": "⌥ + 1 -> 1",
"manipulators": [
{
"from": {
"key_code": "1",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "1"
}
],
"type": "basic"
}
]
},
{
"description": "1 -> !",
"manipulators": [
{
"from": {
"key_code": "1"
},
"to": [
{
"key_code": "1",
"modifiers": [
"left_shift"
]
}
],
"type": "basic"
}
]
},
{
"description": "⌥ + 2 -> 2",
"manipulators": [
{
"from": {
"key_code": "2",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "2"
}
],
"type": "basic"
}
]
},
{
"description": "2 -> @",
"manipulators": [
{
"from": {
"key_code": "2"
},
"to": [
{
"key_code": "l",
"modifiers": [
"left_option"
]
}
],
"type": "basic"
}
]
},
{
"description": "⌥ + 3 -> 3",
"manipulators": [
{
"from": {
"key_code": "3",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "3"
}
],
"type": "basic"
}
]
},
{
"description": "3 -> inch",
"manipulators": [
{
"from": {
"key_code": "3"
},
"to": [
{
"key_code": "2",
"modifiers": [
"left_shift"
]
}
],
"type": "basic"
}
]
},
{
"description": "⌥ + 4 -> 4",
"manipulators": [
{
"from": {
"key_code": "4",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "4"
}
],
"type": "basic"
}
]
},
{
"description": "4 -> $",
"manipulators": [
{
"from": {
"key_code": "4"
},
"to": [
{
"key_code": "4",
"modifiers": [
"left_shift"
]
}
],
"type": "basic"
}
]
},
{
"description": "⌥ + 5 -> 5",
"manipulators": [
{
"from": {
"key_code": "5",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "5"
}
],
"type": "basic"
}
]
},
{
"description": "5 -> ?",
"manipulators": [
{
"from": {
"key_code": "5"
},
"to": [
{
"key_code": "hyphen",
"modifiers": [
"left_shift"
]
}
],
"type": "basic"
}
]
},
{
"description": "⌥ + 6 -> 6",
"manipulators": [
{
"from": {
"key_code": "6",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "6"
}
],
"type": "basic"
}
]
},
{
"description": "6 -> <",
"manipulators": [
{
"from": {
"key_code": "6"
},
"to": [
{
"key_code": "grave_accent_and_tilde"
}
],
"type": "basic"
}
]
},
{
"description": "⌥ + 7 -> 7",
"manipulators": [
{
"from": {
"key_code": "7",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "7"
}
],
"type": "basic"
}
]
},
{
"description": "7 -> |",
"manipulators": [
{
"from": {
"key_code": "7"
},
"to": [
{
"key_code": "7",
"modifiers": [
"left_option"
]
}
],
"type": "basic"
}
]
},
{
"description": "⌥ + 8 -> 8",
"manipulators": [
{
"from": {
"key_code": "8",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "8"
}
],
"type": "basic"
}
]
},
{
"description": "8 -> >",
"manipulators": [
{
"from": {
"key_code": "8"
},
"to": [
{
"key_code": "grave_accent_and_tilde",
"modifiers": [
"left_shift"
]
}
],
"type": "basic"
}
]
},
{
"description": "⌥ + 9 -> 9",
"manipulators": [
{
"from": {
"key_code": "9",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "9"
}
],
"type": "basic"
}
]
},
{
"description": "9 -> &",
"manipulators": [
{
"from": {
"key_code": "9"
},
"to": [
{
"key_code": "6",
"modifiers": [
"left_shift"
]
}
],
"type": "basic"
}
]
},
{
"description": "⌥ + ß -> ß",
"manipulators": [
{
"from": {
"key_code": "hyphen",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "hyphen"
}
],
"type": "basic"
}
]
},
{
"description": "ß -> *",
"manipulators": [
{
"from": {
"key_code": "hyphen"
},
"to": [
{
"key_code": "close_bracket",
"modifiers": [
"right_shift"
]
}
],
"type": "basic"
}
]
},
{
"description": "f1 -> ⌃ + ⇧ + ⇥ (Show Previous Tab)",
"manipulators": [
{
"from": {
"key_code": "f1"
},
"to": [
{
"key_code": "tab",
"modifiers": [
"left_shift",
"left_control"
]
}
],
"type": "basic"
}
]
},
{
"description": "f2 -> ⌃ + ⇥ (Show Next Tab)",
"manipulators": [
{
"from": {
"key_code": "f2"
},
"to": [
{
"key_code": "tab",
"modifiers": [
"left_control"
]
}
],
"type": "basic"
}
]
},
{
"description": "fn + f1 -> Brightness decrement",
"manipulators": [
{
"from": {
"key_code": "f1",
"modifiers": {
"mandatory": [
"fn"
]
}
},
"to": [
{
"key_code": "display_brightness_decrement"
}
],
"type": "basic"
}
]
},
{
"description": "fn + f2 -> Brightness increment",
"manipulators": [
{
"from": {
"key_code": "f2",
"modifiers": {
"mandatory": [
"fn"
]
}
},
"to": [
{
"key_code": "display_brightness_increment"
}
],
"type": "basic"
}
]
},
{
"description": "fn + ⇧ + ← -> ⌃ + ⇧ + ⇥ (Show Previous Tab)",
"manipulators": [
{
"from": {
"key_code": "left_arrow",
"modifiers": {
"mandatory": [
"fn",
"shift"
]
}
},
"to": [
{
"key_code": "tab",
"modifiers": [
"left_shift",
"left_control"
]
}
],
"type": "basic"
}
]
},
{
"description": "fn + ⇧ + → -> ⌃ + ⇥ (Show Next Tab)",
"manipulators": [
{
"from": {
"key_code": "right_arrow",
"modifiers": {
"mandatory": [
"fn",
"shift"
]
}
},
"to": [
{
"key_code": "tab",
"modifiers": [
"left_control"
]
}
],
"type": "basic"
}
]
},
{
"description": "⌥ + ö -> ö",
"manipulators": [
{
"from": {
"key_code": "semicolon",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "semicolon"
}
],
"type": "basic"
}
]
},
{
"description": "ö -> :",
"manipulators": [
{
"from": {
"key_code": "semicolon"
},
"to": [
{
"key_code": "period",
"modifiers": [
"left_shift"
]
}
],
"type": "basic"
}
]
},
{
"description": "⌥ + ä -> ä",
"manipulators": [
{
"from": {
"key_code": "quote",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "quote"
}
],
"type": "basic"
}
]
},
{
"description": "ä -> ;",
"manipulators": [
{
"from": {
"key_code": "quote"
},
"to": [
{
"key_code": "comma",
"modifiers": [
"left_shift"
]
}
],
"type": "basic"
}
]
},
{
"description": "CapsLock -> Esc",
"manipulators": [
{
"from": {
"key_code": "caps_lock"
},
"to": [
{
"key_code": "escape"
}
],
"type": "basic"
}
]
},
{
"description": "keypad , -> .",
"manipulators": [
{
"from": {
"key_code": "keypad_period"
},
"to": [
{
"key_code": "keypad_period",
"modifiers": [
"left_option"
]
}
],
"type": "basic"
}
]
}
]
},
"devices": [
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"game_pad_swap_sticks": false,
"identifiers": {
"is_game_pad": false,
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 628,
"vendor_id": 1452
},
"ignore": false,
"manipulate_caps_lock_led": true,
"mouse_flip_horizontal_wheel": false,
"mouse_flip_vertical_wheel": false,
"mouse_flip_x": false,
"mouse_flip_y": false,
"mouse_swap_wheels": false,
"mouse_swap_xy": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"game_pad_swap_sticks": false,
"identifiers": {
"is_game_pad": false,
"is_keyboard": false,
"is_pointing_device": true,
"product_id": 628,
"vendor_id": 1452
},
"ignore": true,
"manipulate_caps_lock_led": false,
"mouse_flip_horizontal_wheel": false,
"mouse_flip_vertical_wheel": false,
"mouse_flip_x": false,
"mouse_flip_y": false,
"mouse_swap_wheels": false,
"mouse_swap_xy": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"game_pad_swap_sticks": false,
"identifiers": {
"is_game_pad": false,
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 33424,
"vendor_id": 1452
},
"ignore": false,
"manipulate_caps_lock_led": true,
"mouse_flip_horizontal_wheel": false,
"mouse_flip_vertical_wheel": false,
"mouse_flip_x": false,
"mouse_flip_y": false,
"mouse_swap_wheels": false,
"mouse_swap_xy": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"game_pad_swap_sticks": false,
"identifiers": {
"is_game_pad": false,
"is_keyboard": false,
"is_pointing_device": true,
"product_id": 33424,
"vendor_id": 1452
},
"ignore": true,
"manipulate_caps_lock_led": false,
"mouse_flip_horizontal_wheel": false,
"mouse_flip_vertical_wheel": false,
"mouse_flip_x": false,
"mouse_flip_y": false,
"mouse_swap_wheels": false,
"mouse_swap_xy": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"game_pad_swap_sticks": false,
"identifiers": {
"is_game_pad": false,
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 620,
"vendor_id": 1452
},
"ignore": false,
"manipulate_caps_lock_led": true,
"mouse_flip_horizontal_wheel": false,
"mouse_flip_vertical_wheel": false,
"mouse_flip_x": false,
"mouse_flip_y": false,
"mouse_swap_wheels": false,
"mouse_swap_xy": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"game_pad_swap_sticks": false,
"identifiers": {
"is_game_pad": false,
"is_keyboard": false,
"is_pointing_device": true,
"product_id": 613,
"vendor_id": 1452
},
"ignore": true,
"manipulate_caps_lock_led": false,
"mouse_flip_horizontal_wheel": false,
"mouse_flip_vertical_wheel": false,
"mouse_flip_x": false,
"mouse_flip_y": false,
"mouse_swap_wheels": false,
"mouse_swap_xy": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"game_pad_swap_sticks": false,
"identifiers": {
"is_game_pad": false,
"is_keyboard": false,
"is_pointing_device": true,
"product_id": 613,
"vendor_id": 76
},
"ignore": true,
"manipulate_caps_lock_led": false,
"mouse_flip_horizontal_wheel": false,
"mouse_flip_vertical_wheel": false,
"mouse_flip_x": false,
"mouse_flip_y": false,
"mouse_swap_wheels": false,
"mouse_swap_xy": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"game_pad_swap_sticks": false,
"identifiers": {
"is_game_pad": false,
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 620,
"vendor_id": 76
},
"ignore": false,
"manipulate_caps_lock_led": true,
"mouse_flip_horizontal_wheel": false,
"mouse_flip_vertical_wheel": false,
"mouse_flip_x": false,
"mouse_flip_y": false,
"mouse_swap_wheels": false,
"mouse_swap_xy": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"game_pad_swap_sticks": false,
"identifiers": {
"is_game_pad": false,
"is_keyboard": false,
"is_pointing_device": false,
"product_id": 628,
"vendor_id": 1452
},
"ignore": false,
"manipulate_caps_lock_led": false,
"mouse_flip_horizontal_wheel": false,
"mouse_flip_vertical_wheel": false,
"mouse_flip_x": false,
"mouse_flip_y": false,
"mouse_swap_wheels": false,
"mouse_swap_xy": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"game_pad_swap_sticks": false,
"identifiers": {
"is_game_pad": false,
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 8484,
"vendor_id": 6700
},
"ignore": false,
"manipulate_caps_lock_led": true,
"mouse_flip_horizontal_wheel": false,
"mouse_flip_vertical_wheel": false,
"mouse_flip_x": false,
"mouse_flip_y": false,
"mouse_swap_wheels": false,
"mouse_swap_xy": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
}
],
"fn_function_keys": [
{
"from": {
"key_code": "f1"
},
"to": [
{
"consumer_key_code": "display_brightness_decrement"
}
]
},
{
"from": {
"key_code": "f2"
},
"to": [
{
"consumer_key_code": "display_brightness_increment"
}
]
},
{
"from": {
"key_code": "f3"
},
"to": [
{
"key_code": "mission_control"
}
]
},
{
"from": {
"key_code": "f4"
},
"to": [
{
"key_code": "launchpad"
}
]
},
{
"from": {
"key_code": "f5"
},
"to": [
{
"key_code": "illumination_decrement"
}
]
},
{
"from": {
"key_code": "f6"
},
"to": [
{
"key_code": "f6"
}
]
},
{
"from": {
"key_code": "f7"
},
"to": [
{
"key_code": "f7"
}
]
},
{
"from": {
"key_code": "f8"
},
"to": [
{
"key_code": "f8"
}
]
},
{
"from": {
"key_code": "f9"
},
"to": [
{
"consumer_key_code": "fastforward"
}
]
},
{
"from": {
"key_code": "f10"
},
"to": [
{
"consumer_key_code": "mute"
}
]
},
{
"from": {
"key_code": "f11"
},
"to": [
{
"consumer_key_code": "volume_decrement"
}
]
},
{
"from": {
"key_code": "f12"
},
"to": [
{
"consumer_key_code": "volume_increment"
}
]
}
],
"name": "Brackets+Numbers",
"parameters": {
"delay_milliseconds_before_open_device": 1000
},
"selected": false,
"simple_modifications": [],
"virtual_hid_keyboard": {
"country_code": 0,
"indicate_sticky_modifier_keys_state": true,
"mouse_key_xy_scale": 100
}
},
{
"complex_modifications": {
"parameters": {
"basic.simultaneous_threshold_milliseconds": 50,
"basic.to_delayed_action_delay_milliseconds": 500,
"basic.to_if_alone_timeout_milliseconds": 1000,
"basic.to_if_held_down_threshold_milliseconds": 500,
"mouse_motion_to_scroll.speed": 100
},
"rules": [
{
"description": "Left ⌥ + p -> ↖",
"manipulators": [
{
"from": {
"key_code": "p",
"modifiers": {
"mandatory": [
"left_option",
"left_command"
],
"optional": [
"shift"
]
}
},
"to": [
{
"key_code": "home",
"modifiers": [
"left_option",
"left_command"
]
}
],
"type": "basic"
}
]
},
{
"description": "Left ⌘ -> [",
"manipulators": [
{
"from": {
"key_code": "left_command",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_command",
"lazy": true
}
],
"to_if_alone": [
{
"key_code": "5",
"modifiers": "left_option"
}
],
"type": "basic"
}
]
},
{
"description": "Right ⌘ -> ]",
"manipulators": [
{
"from": {
"key_code": "right_command",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_command",
"lazy": true
}
],
"to_if_alone": [
{
"key_code": "6",
"modifiers": "right_option"
}
],
"type": "basic"
}
]
},
{
"description": "Left ⌃ -> {",
"manipulators": [
{
"from": {
"key_code": "left_control",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [
{
"key_code": "8",
"modifiers": "left_option"
}
],
"type": "basic"
}
]
},
{
"description": "Right ⌃ -> }",
"manipulators": [
{
"from": {
"key_code": "right_control",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_control",
"lazy": true
}
],
"to_if_alone": [
{
"key_code": "9",
"modifiers": "right_option"
}
],
"type": "basic"
}
]
},
{
"description": "Fn + Right ⌥ -> }",
"manipulators": [
{
"from": {
"key_code": "right_option",
"modifiers": {
"mandatory": [
"fn"
]
}
},
"to": [
{
"key_code": "9",
"modifiers": "right_option"
}
],
"type": "basic"
}
]
},
{
"description": "Left ⇧ -> (",
"manipulators": [
{
"from": {
"key_code": "left_shift",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [
{
"key_code": "8",
"modifiers": "left_shift"
}
],
"type": "basic"
}
]
},
{
"description": "Right ⇧ -> )",
"manipulators": [
{
"from": {
"key_code": "right_shift",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_shift",
"lazy": true
}
],
"to_if_alone": [
{
"key_code": "9",
"modifiers": "right_shift"
}
],
"type": "basic"
}
]
},
{
"description": "⌥ + ß -> ß",
"manipulators": [
{
"from": {
"key_code": "hyphen",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "hyphen"
}
],
"type": "basic"
}
]
},
{
"description": "ß -> *",
"manipulators": [
{
"from": {
"key_code": "hyphen"
},
"to": [
{
"key_code": "close_bracket",
"modifiers": [
"right_shift"
]
}
],
"type": "basic"
}
]
},
{
"description": "f1 -> ⌃ + ⇧ + ⇥ (Show Previous Tab)",
"manipulators": [
{
"from": {
"key_code": "f1"
},
"to": [
{
"key_code": "tab",
"modifiers": [
"left_shift",
"left_control"
]
}
],
"type": "basic"
}
]
},
{
"description": "f2 -> ⌃ + ⇥ (Show Next Tab)",
"manipulators": [
{
"from": {
"key_code": "f2"
},
"to": [
{
"key_code": "tab",
"modifiers": [
"left_control"
]
}
],
"type": "basic"
}
]
},
{
"description": "fn + ⇧ + ← -> ⌃ + ⇧ + ⇥ (Show Previous Tab)",
"manipulators": [
{
"from": {
"key_code": "left_arrow",
"modifiers": {
"mandatory": [
"fn",
"shift"
]
}
},
"to": [
{
"key_code": "tab",
"modifiers": [
"left_shift",
"left_control"
]
}
],
"type": "basic"
}
]
},
{
"description": "fn + ⇧ + → -> ⌃ + ⇥ (Show Next Tab)",
"manipulators": [
{
"from": {
"key_code": "right_arrow",
"modifiers": {
"mandatory": [
"fn",
"shift"
]
}
},
"to": [
{
"key_code": "tab",
"modifiers": [
"left_control"
]
}
],
"type": "basic"
}
]
},
{
"description": "⌥ + ö -> ö",
"manipulators": [
{
"from": {
"key_code": "semicolon",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "semicolon"
}
],
"type": "basic"
}
]
},
{
"description": "ö -> :",
"manipulators": [
{
"from": {
"key_code": "semicolon"
},
"to": [
{
"key_code": "period",
"modifiers": [
"left_shift"
]
}
],
"type": "basic"
}
]
},
{
"description": "⌥ + ä -> ä",
"manipulators": [
{
"from": {
"key_code": "quote",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "quote"
}
],
"type": "basic"
}
]
},
{
"description": "ä -> ;",
"manipulators": [
{
"from": {
"key_code": "quote"
},
"to": [
{
"key_code": "comma",
"modifiers": [
"left_shift"
]
}
],
"type": "basic"
}
]
},
{
"description": "CapsLock -> Esc",
"manipulators": [
{
"from": {
"key_code": "caps_lock"
},
"to": [
{
"key_code": "escape"
}
],
"type": "basic"
}
]
},
{
"description": "keypad , -> .",
"manipulators": [
{
"from": {
"key_code": "keypad_period"
},
"to": [
{
"key_code": "keypad_period",
"modifiers": [
"left_option"
]
}
],
"type": "basic"
}
]
}
]
},
"devices": [],
"fn_function_keys": [
{
"from": {
"key_code": "f1"
},
"to": [
{
"consumer_key_code": "display_brightness_decrement"
}
]
},
{
"from": {
"key_code": "f2"
},
"to": [
{
"consumer_key_code": "display_brightness_increment"
}
]
},
{
"from": {
"key_code": "f3"
},
"to": [
{
"key_code": "mission_control"
}
]
},
{
"from": {
"key_code": "f4"
},
"to": [
{
"key_code": "launchpad"
}
]
},
{
"from": {
"key_code": "f5"
},
"to": [
{
"key_code": "illumination_decrement"
}
]
},
{
"from": {
"key_code": "f6"
},
"to": [
{
"key_code": "f6"
}
]
},
{
"from": {
"key_code": "f7"
},
"to": [
{
"key_code": "f7"
}
]
},
{
"from": {
"key_code": "f8"
},
"to": [
{
"key_code": "f8"
}
]
},
{
"from": {
"key_code": "f9"
},
"to": [
{
"consumer_key_code": "fastforward"
}
]
},
{
"from": {
"key_code": "f10"
},
"to": [
{
"consumer_key_code": "mute"
}
]
},
{
"from": {
"key_code": "f11"
},
"to": [
{
"consumer_key_code": "volume_decrement"
}
]
},
{
"from": {
"key_code": "f12"
},
"to": [
{
"consumer_key_code": "volume_increment"
}
]
}
],
"name": "Brackets",
"parameters": {
"delay_milliseconds_before_open_device": 1000
},
"selected": false,
"simple_modifications": [],
"virtual_hid_keyboard": {
"country_code": 0,
"indicate_sticky_modifier_keys_state": true,
"mouse_key_xy_scale": 100
}
},
{
"complex_modifications": {
"parameters": {
"basic.simultaneous_threshold_milliseconds": 50,
"basic.to_delayed_action_delay_milliseconds": 500,
"basic.to_if_alone_timeout_milliseconds": 1000,
"basic.to_if_held_down_threshold_milliseconds": 500,
"mouse_motion_to_scroll.speed": 100
},
"rules": [
{
"description": "shifth + _ -> -",
"manipulators": [
{
"from": {
"key_code": "slash",
"modifiers": {
"mandatory": [
"left_shift"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "slash",
"modifiers": []
}
],
"type": "basic"
},
{
"from": {
"key_code": "slash",
"modifiers": {
"mandatory": [
"right_shift"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "slash",
"modifiers": []
}
],
"type": "basic"
}
]
},
{
"description": "- -> _",
"manipulators": [
{
"from": {
"key_code": "slash",
"modifiers": {
"mandatory": [],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "slash",
"modifiers": [
"left_shift"
]
}
],
"type": "basic"
}
]
},
{
"description": "option + 9 -> ]",
"manipulators": [
{
"from": {
"key_code": "9",
"modifiers": {
"mandatory": [
"left_option"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "6",
"modifiers": [
"left_option"
]
}
],
"type": "basic"
},
{
"from": {
"key_code": "9",
"modifiers": {
"mandatory": [
"right_option"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "6",
"modifiers": [
"right_option"
]
}
],
"type": "basic"
}
]
},
{
"description": "option + 8 -> [",
"manipulators": [
{
"from": {
"key_code": "8",
"modifiers": {
"mandatory": [
"left_option"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "5",
"modifiers": [
"left_option"
]
}
],
"type": "basic"
},
{
"from": {
"key_code": "8",
"modifiers": {
"mandatory": [
"right_option"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "5",
"modifiers": [
"right_option"
]
}
],
"type": "basic"
}
]
},
{
"description": "option + 0 -> }",
"manipulators": [
{
"from": {
"key_code": "0",
"modifiers": {
"mandatory": [
"left_option"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "9",
"modifiers": [
"left_option"
]
}
],
"type": "basic"
},
{
"from": {
"key_code": "0",
"modifiers": {
"mandatory": [
"right_option"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "9",
"modifiers": [
"right_option"
]
}
],
"type": "basic"
}
]
},
{
"description": "option + 7 -> {",
"manipulators": [
{
"from": {
"key_code": "7",
"modifiers": {
"mandatory": [
"left_option"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "8",
"modifiers": [
"left_option"
]
}
],
"type": "basic"
},
{
"from": {
"key_code": "7",
"modifiers": {
"mandatory": [
"right_option"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "8",
"modifiers": [
"right_option"
]
}
],
"type": "basic"
}
]
},
{
"description": "option + q -> @",
"manipulators": [
{
"from": {
"key_code": "q",
"modifiers": {
"mandatory": [
"left_option"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "l",
"modifiers": [
"left_option"
]
}
],
"type": "basic"
},
{
"from": {
"key_code": "q",
"modifiers": {
"mandatory": [
"right_option"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "l",
"modifiers": [
"right_option"
]
}
],
"type": "basic"
}
]
}
]
},
"devices": [
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"game_pad_swap_sticks": false,
"identifiers": {
"is_game_pad": false,
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 628,
"vendor_id": 1452
},
"ignore": false,
"manipulate_caps_lock_led": true,
"mouse_flip_horizontal_wheel": false,
"mouse_flip_vertical_wheel": false,
"mouse_flip_x": false,
"mouse_flip_y": false,
"mouse_swap_wheels": false,
"mouse_swap_xy": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"game_pad_swap_sticks": false,
"identifiers": {
"is_game_pad": false,
"is_keyboard": false,
"is_pointing_device": true,
"product_id": 628,
"vendor_id": 1452
},
"ignore": true,
"manipulate_caps_lock_led": false,
"mouse_flip_horizontal_wheel": false,
"mouse_flip_vertical_wheel": false,
"mouse_flip_x": false,
"mouse_flip_y": false,
"mouse_swap_wheels": false,
"mouse_swap_xy": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"game_pad_swap_sticks": false,
"identifiers": {
"is_game_pad": false,
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 33424,
"vendor_id": 1452
},
"ignore": false,
"manipulate_caps_lock_led": true,
"mouse_flip_horizontal_wheel": false,
"mouse_flip_vertical_wheel": false,
"mouse_flip_x": false,
"mouse_flip_y": false,
"mouse_swap_wheels": false,
"mouse_swap_xy": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"game_pad_swap_sticks": false,
"identifiers": {
"is_game_pad": false,
"is_keyboard": false,
"is_pointing_device": true,
"product_id": 33424,
"vendor_id": 1452
},
"ignore": true,
"manipulate_caps_lock_led": false,
"mouse_flip_horizontal_wheel": false,
"mouse_flip_vertical_wheel": false,
"mouse_flip_x": false,
"mouse_flip_y": false,
"mouse_swap_wheels": false,
"mouse_swap_xy": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"game_pad_swap_sticks": false,
"identifiers": {
"is_game_pad": false,
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 620,
"vendor_id": 1452
},
"ignore": false,
"manipulate_caps_lock_led": true,
"mouse_flip_horizontal_wheel": false,
"mouse_flip_vertical_wheel": false,
"mouse_flip_x": false,
"mouse_flip_y": false,
"mouse_swap_wheels": false,
"mouse_swap_xy": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"game_pad_swap_sticks": false,
"identifiers": {
"is_game_pad": false,
"is_keyboard": false,
"is_pointing_device": true,
"product_id": 613,
"vendor_id": 1452
},
"ignore": true,
"manipulate_caps_lock_led": false,
"mouse_flip_horizontal_wheel": false,
"mouse_flip_vertical_wheel": false,
"mouse_flip_x": false,
"mouse_flip_y": false,
"mouse_swap_wheels": false,
"mouse_swap_xy": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"game_pad_swap_sticks": false,
"identifiers": {
"is_game_pad": false,
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 8484,
"vendor_id": 6700
},
"ignore": false,
"manipulate_caps_lock_led": true,
"mouse_flip_horizontal_wheel": false,
"mouse_flip_vertical_wheel": false,
"mouse_flip_x": false,
"mouse_flip_y": false,
"mouse_swap_wheels": false,
"mouse_swap_xy": false,
"simple_modifications": [
{
"from": {
"key_code": "grave_accent_and_tilde"
},
"to": [
{
"key_code": "non_us_backslash"
}
]
},
{
"from": {
"key_code": "non_us_backslash"
},
"to": [
{
"key_code": "grave_accent_and_tilde"
}
]
}
],
"treat_as_built_in_keyboard": false
}
],
"fn_function_keys": [
{
"from": {
"key_code": "f1"
},
"to": [
{
"consumer_key_code": "display_brightness_decrement"
}
]
},
{
"from": {
"key_code": "f2"
},
"to": [
{
"consumer_key_code": "display_brightness_increment"
}
]
},
{
"from": {
"key_code": "f3"
},
"to": [
{
"apple_vendor_keyboard_key_code": "mission_control"
}
]
},
{
"from": {
"key_code": "f4"
},
"to": [
{
"apple_vendor_keyboard_key_code": "spotlight"
}
]
},
{
"from": {
"key_code": "f5"
},
"to": [
{
"consumer_key_code": "dictation"
}
]
},
{
"from": {
"key_code": "f6"
},
"to": [
{
"key_code": "f6"
}
]
},
{
"from": {
"key_code": "f7"
},
"to": [
{
"consumer_key_code": "rewind"
}
]
},
{
"from": {
"key_code": "f8"
},
"to": [
{
"consumer_key_code": "play_or_pause"
}
]
},
{
"from": {
"key_code": "f9"
},
"to": [
{
"consumer_key_code": "fast_forward"
}
]
},
{
"from": {
"key_code": "f10"
},
"to": [
{
"consumer_key_code": "mute"
}
]
},
{
"from": {
"key_code": "f11"
},
"to": [
{
"consumer_key_code": "volume_decrement"
}
]
},
{
"from": {
"key_code": "f12"
},
"to": [
{
"consumer_key_code": "volume_increment"
}
]
}
],
"name": "German Windows Keyboard vivanco on mac",
"parameters": {
"delay_milliseconds_before_open_device": 1000
},
"selected": true,
"simple_modifications": [],
"virtual_hid_keyboard": {
"country_code": 0,
"indicate_sticky_modifier_keys_state": true,
"mouse_key_xy_scale": 100
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment