Skip to content

Commit

Permalink
Merge pull request #1700 from michlampert/UK_to_US_layout
Browse files Browse the repository at this point in the history
UK_to_US_layout
  • Loading branch information
tekezo authored Aug 15, 2024
2 parents d53989b + cb76f18 commit 3cef23e
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 0 deletions.
3 changes: 3 additions & 0 deletions public/groups.json
Original file line number Diff line number Diff line change
Expand Up @@ -992,6 +992,9 @@
{
"path": "json/multi_n.json",
"extra_description_path": "extra_descriptions/multi_n.html"
},
{
"path": "json/UK_to_US_layout.json"
}
]
},
Expand Down
68 changes: 68 additions & 0 deletions public/json/UK_to_US_layout.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"title": "Change keyboard layout from UK to US for ",
"rules": [
{
"description": "Change Backslash (\\) to Enter (use fn + \\ for default behavior)",
"manipulators": [
{
"from": {
"key_code": "backslash",
"modifiers": {
"optional": [
"shift"
]
}
},
"to": [
{
"key_code": "return_or_enter"
}
],
"type": "basic"
}
]
},
{
"description": "Change non_us_backslash to grave_accent_and_tilde",
"manipulators": [
{
"from": {
"key_code": "non_us_backslash",
"modifiers": {
"optional": [
"shift"
]
}
},
"to": [
{
"key_code": "grave_accent_and_tilde"
}
],
"type": "basic"
}
]
},
{
"description": "Change grave_accent_and_tilde to shift",
"manipulators": [
{
"from": {
"key_code": "grave_accent_and_tilde",
"modifiers": {
"optional": [
"shift"
]
}
},
"to": [
{
"key_code": "left_shift"
}
],
"type": "basic"
}
]
}
]
}

0 comments on commit 3cef23e

Please sign in to comment.