Created
May 3, 2019 05:12
-
-
Save john-shine/fe820e3bc22fccb2a5cd9f5228ad3656 to your computer and use it in GitHub Desktop.
launch voice input or delete_or_backspace by application key
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
"global": { | |
...... | |
}, | |
"profiles": [{ | |
"complex_modifications": { | |
"parameters": { | |
...... | |
"basic.to_if_held_down_threshold_milliseconds": 500 | |
}, | |
"rules": [ | |
{ | |
"manipulators": [{ | |
"description": "launch voice input or delete_or_backspace", | |
"from": { | |
"key_code": "application" | |
}, | |
"to_if_held_down": [ | |
{ | |
"key_code": "fn", | |
"halt": true | |
}, | |
{ | |
"key_code": "fn" | |
} | |
], | |
"to_after_key_up": [{ | |
"key_code": "delete_or_backspace" | |
} | |
], | |
"type": "basic" | |
}] | |
} | |
] | |
} | |
}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment