計算機科学のブログ

k-codeのk-dvorakをmacOSとJIS配列で使う方法

Google IMEでk-codeを使うために必要k-dvorakをmacOSとJIS配列で実現する方法。

最初にKarabiner-Elementsをインストール。

そしてその設定で使用するJSONファイル。

{
    "title": "k-dvorak",
    "rules": [
        {
            "description": "JISキーボードを k-dvorak 配列に変更",
            "manipulators": [
                {
                    "type": "basic",
                    "from": {
                        "key_code": "left_control",
                        "modifiers": {
                            "optional": [
                                "command",
                                "option",
                                "shift"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "return_or_enter"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "left_shift",
                        "modifiers": {
                            "optional": [
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "delete_or_backspace"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "caps_lock",
                        "modifiers": {
                            "optional": [
                                "command",
                                "option",
                                "shift"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "left_control"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "japanese_eisuu",
                        "modifiers": {
                            "optional": [
                                "command",
                                "option",
                                "control"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "left_shift"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "japanese_kana",
                        "modifiers": {
                            "optional": [
                                "command",
                                "option",
                                "control"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "right_shift"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "international1",
                        "modifiers": {
                            "optional": [
                                "command",
                                "option",
                                "control",
                                "shift"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "delete_forward"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "q",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "quote"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "w",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "comma"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "e",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "period"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "r",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "p"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "t",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "y"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "y",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "f"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "u",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "g"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "i",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "c"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "o",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "r"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "p",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "l"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "open_bracket",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "slash"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "s",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "o"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "d",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "e"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "f",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "u"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "g",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "i"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "h",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "d"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "j",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "h"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "k",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "t"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "l",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "n"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "semicolon",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "s"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "quote",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "hyphen"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "z",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "semicolon"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "x",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "q"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "c",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "j"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "v",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "k"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "b",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "x"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "n",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "b"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "m",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "m"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "comma",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "w"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "period",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "v"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "slash",
                        "modifiers": {
                            "optional": [
                                "caps_lock",
                                "control",
                                "option",
                                "command"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "z"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "q",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "1"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "w",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "2"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "e",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "3"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "r",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "4"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "t",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "5"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "y",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "f",
                            "modifiers": [
                                "left_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "u",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "g",
                            "modifiers": [
                                "left_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "i",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "c",
                            "modifiers": [
                                "left_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "o",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "r",
                            "modifiers": [
                                "left_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "p",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "l",
                            "modifiers": [
                                "left_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "open_bracket",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "slash",
                            "modifiers": [
                                "left_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "a",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "equal_sign",
                            "modifiers": [
                                "left_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "s",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "open_bracket",
                            "modifiers": [
                                "left_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "d",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "open_bracket"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "f",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "9",
                            "modifiers": [
                                "left_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "g",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "8",
                            "modifiers": [
                                "left_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "h",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "d",
                            "modifiers": [
                                "left_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "j",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "h",
                            "modifiers": [
                                "left_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "k",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "t",
                            "modifiers": [
                                "left_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "l",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "n",
                            "modifiers": [
                                "left_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "semicolon",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "s",
                            "modifiers": [
                                "left_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "quote",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "hyphen",
                            "modifiers": [
                                "left_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "z",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "grave_accent_and_tilde",
                            "modifiers": [
                                "left_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "x",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "4",
                            "modifiers": [
                                "left_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "c",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "7",
                            "modifiers": [
                                "left_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "v",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "5",
                            "modifiers": [
                                "left_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "n",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "b",
                            "modifiers": [
                                "left_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "m",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "m",
                            "modifiers": [
                                "left_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "comma",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "w",
                            "modifiers": [
                                "left_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "period",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "v",
                            "modifiers": [
                                "left_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "slash",
                        "modifiers": {
                            "mandatory": [
                                "left_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "z",
                            "modifiers": [
                                "left_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "q",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "quote",
                            "modifiers": [
                                "right_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "w",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "comma",
                            "modifiers": [
                                "right_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "e",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "period",
                            "modifiers": [
                                "right_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "r",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "p",
                            "modifiers": [
                                "right_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "t",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "y",
                            "modifiers": [
                                "right_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "y",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "6"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "u",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "7"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "i",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "8"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "o",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "9"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "p",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "0"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "s",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "o",
                            "modifiers": [
                                "right_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "d",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "e",
                            "modifiers": [
                                "right_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "f",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "u",
                            "modifiers": [
                                "right_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "g",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "i",
                            "modifiers": [
                                "right_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "h",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "backslash",
                            "modifiers": [
                                "right_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "j",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "0",
                            "modifiers": [
                                "right_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "k",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "close_bracket"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "l",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "close_bracket",
                            "modifiers": [
                                "right_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "semicolon",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "equal_sign"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "quote",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "1",
                            "modifiers": [
                                "right_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "z",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "semicolon",
                            "modifiers": [
                                "right_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "x",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "q",
                            "modifiers": [
                                "right_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "c",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "j",
                            "modifiers": [
                                "right_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "v",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "k",
                            "modifiers": [
                                "right_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "b",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "x",
                            "modifiers": [
                                "right_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "n",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "6",
                            "modifiers": [
                                "right_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "m",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "3",
                            "modifiers": [
                                "right_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "comma",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "backslash"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "period",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "2",
                            "modifiers": [
                                "right_shift"
                            ]
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "basic",
                    "from": {
                        "key_code": "slash",
                        "modifiers": {
                            "mandatory": [
                                "right_shift"
                            ],
                            "optional": [
                                "caps_lock",
                                "command",
                                "control",
                                "option"
                            ]
                        }
                    },
                    "to": [
                        {
                            "key_code": "grave_accent_and_tilde"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "device_if",
                            "identifiers": [
                                {
                                    "is_built_in_keyboard": true
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}