mirror of
https://github.com/danbee/dotfiles-local
synced 2025-03-04 08:49:07 +00:00
508 lines
9.9 KiB
JSON
508 lines
9.9 KiB
JSON
{
|
|
"title": "Map fn + number keys to function keys (rev 2)",
|
|
"rules": [
|
|
{
|
|
"description": "Map fn + number keys to their corresponding function keys (rev 1)",
|
|
"manipulators": [
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "1",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"fn"
|
|
],
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "f1",
|
|
"modifiers": [
|
|
"fn"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "2",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"fn"
|
|
],
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "f2",
|
|
"modifiers": [
|
|
"fn"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "3",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"fn"
|
|
],
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "f3",
|
|
"modifiers": [
|
|
"fn"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "4",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"fn"
|
|
],
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "f4",
|
|
"modifiers": [
|
|
"fn"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "5",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"fn"
|
|
],
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "f5",
|
|
"modifiers": [
|
|
"fn"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "6",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"fn"
|
|
],
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "f6",
|
|
"modifiers": [
|
|
"fn"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "7",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"fn"
|
|
],
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "f7",
|
|
"modifiers": [
|
|
"fn"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "8",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"fn"
|
|
],
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "f8",
|
|
"modifiers": [
|
|
"fn"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "9",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"fn"
|
|
],
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "f9",
|
|
"modifiers": [
|
|
"fn"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "0",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"fn"
|
|
],
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "f10",
|
|
"modifiers": [
|
|
"fn"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "hyphen",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"fn"
|
|
],
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "f11",
|
|
"modifiers": [
|
|
"fn"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "equal_sign",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"fn"
|
|
],
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "f12",
|
|
"modifiers": [
|
|
"fn"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"description": "Map fn + number keys to their corresponding media control keys (rev 2)",
|
|
"manipulators": [
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "1",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"fn"
|
|
],
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "f1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "2",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"fn"
|
|
],
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "f2"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "3",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"fn"
|
|
],
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "f3"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "4",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"fn"
|
|
],
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "f4"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "5",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"fn"
|
|
],
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "f5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "6",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"fn"
|
|
],
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "f6"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "7",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"fn"
|
|
],
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "f7"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "8",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"fn"
|
|
],
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "f8"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "9",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"fn"
|
|
],
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "f9"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "0",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"fn"
|
|
],
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "f10"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "hyphen",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"fn"
|
|
],
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "f11"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "equal_sign",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"fn"
|
|
],
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "f12"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|