mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
Merge branch 'master' of github.com:js0ny/dotfiles
This commit is contained in:
commit
923d8c56f7
14 changed files with 3408 additions and 1080 deletions
1
platforms/mac/karabiner/.gitignore
vendored
Normal file
1
platforms/mac/karabiner/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
automatic_backups
|
||||
|
|
@ -0,0 +1,997 @@
|
|||
{
|
||||
"title": "Fn -> Hyper",
|
||||
"rules": [
|
||||
{
|
||||
"description": "Fn + Letter -> Left_Shift + Left_Option + Left_Control + Left_Command + Letter",
|
||||
"manipulators": [
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "grave_accent_and_tilde",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "grave_accent_and_tilde",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "1",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "1",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "2",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "2",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "3",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "3",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "4",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "4",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "5",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "5",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "6",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "6",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "7",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "7",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "8",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "8",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "9",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "9",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "0",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "0",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "hyphen",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "hyphen",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "equal_sign",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "equal_sign",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "q",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "q",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "w",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "w",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "e",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "e",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "r",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "r",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "t",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "t",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "y",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "y",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "u",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "u",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "i",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "i",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "o",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "o",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "p",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "p",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "open_bracket",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "open_bracket",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "close_bracket",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "close_bracket",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "backslash",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "backslash",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "a",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "a",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "s",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "s",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "d",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "d",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "f",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "f",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "g",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "g",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "h",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "h",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "j",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "j",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "k",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "k",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "l",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "l",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "semicolon",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "semicolon",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "quote",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "quote",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "z",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "z",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "x",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "x",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "c",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "c",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "v",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "v",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "b",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "b",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "n",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "n",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "m",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "m",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "comma",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "comma",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "period",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "period",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "slash",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "slash",
|
||||
"modifiers": [
|
||||
"left_shift",
|
||||
"left_option",
|
||||
"left_control",
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
{
|
||||
"description": "CapsLock to ESC (alone) or LCommand (withKeys)",
|
||||
"manipulators": [
|
||||
{
|
||||
"from": {
|
||||
"key_code": "caps_lock",
|
||||
"modifiers": {
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "left_command"
|
||||
}
|
||||
],
|
||||
"to_if_alone": [
|
||||
{
|
||||
"key_code": "escape"
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
{
|
||||
"description": "Map fn+tab to cmd+tab",
|
||||
"manipulators": [
|
||||
{
|
||||
"from": {
|
||||
"key_code": "tab",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"fn"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "tab",
|
||||
"modifiers": [
|
||||
"left_command"
|
||||
]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -3,6 +3,763 @@
|
|||
{
|
||||
"complex_modifications": {
|
||||
"rules": [
|
||||
{
|
||||
"description": "Fn + Letter -> Left_Shift + Left_Option + Left_Control + Left_Command + Letter",
|
||||
"manipulators": [
|
||||
{
|
||||
"from": {
|
||||
"key_code": "grave_accent_and_tilde",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "grave_accent_and_tilde",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "1",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "1",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "2",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "2",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "3",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "3",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "4",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "4",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "5",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "5",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "6",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "6",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "7",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "7",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "8",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "8",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "9",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "9",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "0",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "0",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "hyphen",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "hyphen",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "equal_sign",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "equal_sign",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "q",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "q",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "w",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "w",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "e",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "e",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "r",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "r",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "t",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "t",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "y",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "y",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "u",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "u",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "i",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "i",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "o",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "o",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "p",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "p",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "open_bracket",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "open_bracket",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "close_bracket",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "close_bracket",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "backslash",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "backslash",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "a",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "a",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "s",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "s",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "d",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "d",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "f",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "f",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "g",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "g",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "h",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "h",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "j",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "j",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "k",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "k",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "l",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "l",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "semicolon",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "semicolon",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "quote",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "quote",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "z",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "z",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "x",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "x",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "c",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "c",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "v",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "v",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "b",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "b",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "n",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "n",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "m",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "m",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "comma",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "comma",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "period",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "period",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "slash",
|
||||
"modifiers": {
|
||||
"mandatory": ["fn"],
|
||||
"optional": ["caps_lock"]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "slash",
|
||||
"modifiers": ["left_shift", "left_option", "left_control", "left_command"]
|
||||
}
|
||||
],
|
||||
"type": "basic"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Caps Lock to Esc and Ctrl",
|
||||
"manipulators": [
|
||||
|
|
@ -16,55 +773,6 @@
|
|||
"type": "basic"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Change left_control+hnei to arrow keys",
|
||||
"manipulators": [
|
||||
{
|
||||
"from": {
|
||||
"key_code": "h",
|
||||
"modifiers": {
|
||||
"mandatory": ["left_control"],
|
||||
"optional": ["any"]
|
||||
}
|
||||
},
|
||||
"to": [{ "key_code": "left_arrow" }],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "n",
|
||||
"modifiers": {
|
||||
"mandatory": ["left_control"],
|
||||
"optional": ["any"]
|
||||
}
|
||||
},
|
||||
"to": [{ "key_code": "down_arrow" }],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "e",
|
||||
"modifiers": {
|
||||
"mandatory": ["left_control"],
|
||||
"optional": ["any"]
|
||||
}
|
||||
},
|
||||
"to": [{ "key_code": "up_arrow" }],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "i",
|
||||
"modifiers": {
|
||||
"mandatory": ["left_control"],
|
||||
"optional": ["any"]
|
||||
}
|
||||
},
|
||||
"to": [{ "key_code": "right_arrow" }],
|
||||
"type": "basic"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
@ -97,118 +805,39 @@
|
|||
},
|
||||
"ignore": false,
|
||||
"mouse_flip_vertical_wheel": true
|
||||
},
|
||||
{
|
||||
"identifiers": {
|
||||
"is_keyboard": true,
|
||||
"product_id": 641,
|
||||
"vendor_id": 1452
|
||||
},
|
||||
"simple_modifications": [
|
||||
{
|
||||
"from": { "apple_vendor_top_case_key_code": "keyboard_fn" },
|
||||
"to": [{ "key_code": "left_command" }]
|
||||
},
|
||||
{
|
||||
"from": { "key_code": "backslash" },
|
||||
"to": [{ "key_code": "delete_or_backspace" }]
|
||||
},
|
||||
{
|
||||
"from": { "key_code": "delete_or_backspace" },
|
||||
"to": [{ "key_code": "backslash" }]
|
||||
},
|
||||
{
|
||||
"from": { "key_code": "left_command" },
|
||||
"to": [{ "key_code": "left_option" }]
|
||||
},
|
||||
{
|
||||
"from": { "key_code": "left_option" },
|
||||
"to": [{ "apple_vendor_top_case_key_code": "keyboard_fn" }]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"name": "Default profile",
|
||||
"selected": true,
|
||||
"simple_modifications": [
|
||||
{
|
||||
"from": { "apple_vendor_top_case_key_code": "keyboard_fn" },
|
||||
"to": [{ "key_code": "left_command" }]
|
||||
},
|
||||
{
|
||||
"from": { "key_code": "left_command" },
|
||||
"to": [{ "apple_vendor_top_case_key_code": "keyboard_fn" }]
|
||||
}
|
||||
],
|
||||
"virtual_hid_keyboard": { "keyboard_type_v2": "ansi" }
|
||||
},
|
||||
{
|
||||
"complex_modifications": {
|
||||
"rules": [
|
||||
{
|
||||
"description": "Change left_control+hnei to arrow keys",
|
||||
"manipulators": [
|
||||
{
|
||||
"from": {
|
||||
"key_code": "h",
|
||||
"modifiers": {
|
||||
"mandatory": ["left_control"],
|
||||
"optional": ["any"]
|
||||
}
|
||||
},
|
||||
"to": [{ "key_code": "left_arrow" }],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "n",
|
||||
"modifiers": {
|
||||
"mandatory": ["left_control"],
|
||||
"optional": ["any"]
|
||||
}
|
||||
},
|
||||
"to": [{ "key_code": "down_arrow" }],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "e",
|
||||
"modifiers": {
|
||||
"mandatory": ["left_control"],
|
||||
"optional": ["any"]
|
||||
}
|
||||
},
|
||||
"to": [{ "key_code": "up_arrow" }],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"from": {
|
||||
"key_code": "i",
|
||||
"modifiers": {
|
||||
"mandatory": ["left_control"],
|
||||
"optional": ["any"]
|
||||
}
|
||||
},
|
||||
"to": [{ "key_code": "right_arrow" }],
|
||||
"type": "basic"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"devices": [
|
||||
{
|
||||
"identifiers": {
|
||||
"is_keyboard": true,
|
||||
"is_pointing_device": true,
|
||||
"product_id": 626,
|
||||
"vendor_id": 5426
|
||||
},
|
||||
"ignore": false,
|
||||
"mouse_flip_y": true,
|
||||
"simple_modifications": [
|
||||
{
|
||||
"from": { "key_code": "left_command" },
|
||||
"to": [{ "key_code": "right_control" }]
|
||||
},
|
||||
{
|
||||
"from": { "key_code": "left_control" },
|
||||
"to": [{ "key_code": "left_command" }]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"identifiers": {
|
||||
"is_pointing_device": true,
|
||||
"product_id": 45088,
|
||||
"vendor_id": 1133
|
||||
},
|
||||
"ignore": false,
|
||||
"mouse_flip_vertical_wheel": true
|
||||
}
|
||||
],
|
||||
"name": "Default profile (copy)",
|
||||
"simple_modifications": [
|
||||
{
|
||||
"from": { "apple_vendor_top_case_key_code": "keyboard_fn" },
|
||||
"to": [{ "key_code": "left_command" }]
|
||||
},
|
||||
{
|
||||
"from": { "key_code": "left_command" },
|
||||
"to": [{ "apple_vendor_top_case_key_code": "keyboard_fn" }]
|
||||
}
|
||||
],
|
||||
"virtual_hid_keyboard": { "keyboard_type_v2": "ansi" }
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue