{
    "global": { "show_profile_name_in_menu_bar": true },
    "profiles": [
        {
            "complex_modifications": {
                "parameters": { "basic.to_if_alone_timeout_milliseconds": 200 },
                "rules": [
                    {
                        "description": "Mouse Back/Forward",
                        "manipulators": [
                            {
                                "from": { "pointing_button": "button4" },
                                "to": [
                                    {
                                        "key_code": "open_bracket",
                                        "modifiers": ["left_command"]
                                    }
                                ],
                                "type": "basic"
                            },
                            {
                                "from": { "pointing_button": "button5" },
                                "to": [
                                    {
                                        "key_code": "close_bracket",
                                        "modifiers": ["left_command"]
                                    }
                                ],
                                "type": "basic"
                            }
                        ]
                    },
                    {
                        "manipulators": [
                            {
                                "description": "Change caps_lock to command+control+option+shift.",
                                "from": {
                                    "key_code": "caps_lock",
                                    "modifiers": { "optional": ["any"] }
                                },
                                "to": [
                                    {
                                        "key_code": "left_option",
                                        "modifiers": ["left_command", "left_control"]
                                    }
                                ],
                                "type": "basic"
                            }
                        ]
                    },
                    {
                        "manipulators": [
                            {
                                "description": "map left shift to opening parenthesis",
                                "from": {
                                    "key_code": "left_shift",
                                    "modifiers": { "optional": [] }
                                },
                                "to": [
                                    {
                                        "key_code": "left_shift",
                                        "modifiers": []
                                    }
                                ],
                                "to_if_alone": [
                                    {
                                        "key_code": "9",
                                        "modifiers": ["left_shift"]
                                    }
                                ],
                                "type": "basic"
                            },
                            {
                                "description": "map right shift to closing parenthesis",
                                "from": {
                                    "key_code": "right_shift",
                                    "modifiers": { "optional": ["any"] }
                                },
                                "to": [
                                    {
                                        "key_code": "right_shift",
                                        "modifiers": []
                                    }
                                ],
                                "to_if_alone": [
                                    {
                                        "key_code": "0",
                                        "modifiers": ["right_shift"]
                                    }
                                ],
                                "type": "basic"
                            }
                        ]
                    }
                ]
            },
            "devices": [
                {
                    "identifiers": {
                        "is_keyboard": true,
                        "product_id": 50475,
                        "vendor_id": 1133
                    },
                    "manipulate_caps_lock_led": false
                },
                {
                    "identifiers": {
                        "is_keyboard": true,
                        "product_id": 617,
                        "vendor_id": 1241
                    },
                    "manipulate_caps_lock_led": false
                },
                {
                    "identifiers": {
                        "is_pointing_device": true,
                        "product_id": 36915,
                        "vendor_id": 2522
                    },
                    "ignore": false
                },
                {
                    "disable_built_in_keyboard_if_exists": true,
                    "identifiers": {
                        "is_keyboard": true,
                        "product_id": 45849,
                        "vendor_id": 1133
                    },
                    "simple_modifications": [
                        {
                            "from": { "key_code": "left_command" },
                            "to": [{ "key_code": "left_option" }]
                        },
                        {
                            "from": { "key_code": "left_option" },
                            "to": [{ "key_code": "left_command" }]
                        },
                        {
                            "from": { "key_code": "right_option" },
                            "to": [{ "key_code": "right_command" }]
                        }
                    ]
                },
                {
                    "identifiers": {
                        "is_keyboard": true,
                        "is_pointing_device": true,
                        "product_id": 8963,
                        "vendor_id": 4617
                    },
                    "ignore": false,
                    "manipulate_caps_lock_led": false
                },
                {
                    "identifiers": {
                        "is_pointing_device": true,
                        "product_id": 8963,
                        "vendor_id": 4617
                    },
                    "ignore": false
                },
                {
                    "identifiers": {
                        "is_pointing_device": true,
                        "product_id": 1,
                        "vendor_id": 6899
                    },
                    "ignore": false
                },
                {
                    "identifiers": {
                        "is_keyboard": true,
                        "product_id": 8963,
                        "vendor_id": 4617
                    },
                    "manipulate_caps_lock_led": false
                }
            ],
            "fn_function_keys": [
                {
                    "from": { "key_code": "f1" },
                    "to": [{ "key_code": "display_brightness_decrement" }]
                },
                {
                    "from": { "key_code": "f2" },
                    "to": [{ "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": [{ "key_code": "rewind" }]
                },
                {
                    "from": { "key_code": "f8" },
                    "to": [{ "key_code": "play_or_pause" }]
                },
                {
                    "from": { "key_code": "f9" },
                    "to": [{ "key_code": "fastforward" }]
                },
                {
                    "from": { "key_code": "f10" },
                    "to": [{ "key_code": "mute" }]
                },
                {
                    "from": { "key_code": "f11" },
                    "to": [{ "key_code": "volume_decrement" }]
                },
                {
                    "from": { "key_code": "f12" },
                    "to": [{ "key_code": "volume_increment" }]
                }
            ],
            "name": "shift->paren",
            "selected": true,
            "virtual_hid_keyboard": {
                "caps_lock_delay_milliseconds": 0,
                "country_code": 0,
                "keyboard_type": "ansi",
                "keyboard_type_v2": "ansi"
            }
        },
        {
            "fn_function_keys": [
                {
                    "from": { "key_code": "f1" },
                    "to": [{ "key_code": "display_brightness_decrement" }]
                },
                {
                    "from": { "key_code": "f2" },
                    "to": [{ "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": [{ "key_code": "rewind" }]
                },
                {
                    "from": { "key_code": "f8" },
                    "to": [{ "key_code": "play_or_pause" }]
                },
                {
                    "from": { "key_code": "f9" },
                    "to": [{ "key_code": "fastforward" }]
                },
                {
                    "from": { "key_code": "f10" },
                    "to": [{ "key_code": "mute" }]
                },
                {
                    "from": { "key_code": "f11" },
                    "to": [{ "key_code": "volume_decrement" }]
                },
                {
                    "from": { "key_code": "f12" },
                    "to": [{ "key_code": "volume_increment" }]
                }
            ],
            "name": "no shift->paren",
            "virtual_hid_keyboard": {
                "caps_lock_delay_milliseconds": 0,
                "country_code": 0,
                "keyboard_type": "ansi"
            }
        }
    ]
}