Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Apple Keyboard only sub-rule for Section sign (§) to Escape rule #589

Merged
merged 1 commit into from
Dec 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 60 additions & 1 deletion docs/json/section_sign_to_escape.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Section sign (§) to Escape",
"rules": [
{
"description": "Section sign (§) to Escape and fn + Section sign (§) to Section sign (§). Useful on Mac with Touch Bar, where is no physical Escape key.",
"description": "[Any Keyboard] Section sign (§) to Escape and fn + Section sign (§) to Section sign (§).",
"manipulators": [
{
"type": "basic",
Expand Down Expand Up @@ -37,6 +37,65 @@
]
}
]
},
{
"description": "[Apple Keyboard Only] Section sign (§) to Escape and fn + Section sign (§) to Section sign (§). Useful on Mac with Touch Bar, where is no physical Escape key.",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "non_us_backslash",
"modifiers": {
"optional": [
"caps_lock"
]
}
},
"to": [
{
"key_code": "escape"
}
],
"conditions": [
{
"type": "device_if",
"identifiers": [
{
"vendor_id": 1452,
"is_keyboard": true
}
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "non_us_backslash",
"modifiers": {
"mandatory": [
"fn"
]
}
},
"to": [
{
"key_code": "non_us_backslash"
}
],
"conditions": [
{
"type": "device_if",
"identifiers": [
{
"vendor_id": 1452,
"is_keyboard": true
}
]
}
]
}
]
}
]
}