Double tap keypad_enter to double tap fn (start dictation.) Single tap for keypad_enter after a short delay (250ms.) #1208
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This rule solves a problem that I've been having with my Microsoft Surface Ergonomic Keyboard (see my question on Apple StackExchange.)
The
Fn
key can't be used to start dictation, since it only toggles an internal state on and off, and it does not actually send any keypress event. This rule allows you to start dictation by double tapping the keypad enter key, which will send Fn twice. If you only press the keypad enter key once, it will send the original enter key after a short delay (250ms). Note that the first keypress event will always send Fn, but this usually won't do anything by itself.I chose the keypad enter key because it is in a very convenient position at the bottom right of the keyboard. I also use this key is when I'm entering the PIN for my Yubikey, so I still wanted to be able to press enter occasionally.