-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1414 from pqrs-org/update-personal-rule-of-toshi-ue
add my rule about us keyboard
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"title": "Personal rules (@toshi-ue) US Keyboard Settings", | ||
"rules": [ | ||
{ | ||
"description": "Caps Lock to Control When Held in US keyboard", | ||
"_comment": "", | ||
"manipulators": [ | ||
{ | ||
"type": "basic", | ||
"from": { | ||
"key_code": "caps_lock", | ||
"modifiers": { | ||
"optional": [ | ||
"any" | ||
] | ||
} | ||
}, | ||
"parameters": { | ||
"basic.to_if_alone_timeout_milliseconds": 100, | ||
"basic.to_if_held_down_threshold_milliseconds": 100 | ||
}, | ||
"to_if_alone": [ | ||
{ | ||
"key_code": "caps_lock" | ||
} | ||
], | ||
"to_if_held_down": [ | ||
{ | ||
"repeat": true, | ||
"key_code": "left_control" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |