diff options
| author | Jules Aguillon | 2024-12-08 11:41:50 +0100 |
|---|---|---|
| committer | Jules Aguillon | 2024-12-08 11:41:50 +0100 |
| commit | 2060e6ab07ea1b16b368e2bab2423cfa35fac760 (patch) | |
| tree | 64205f49d7f2d466614e8c85170f4f5c0a9ac031 /doc/Possible-key-values.md | |
| parent | b3d28a65d1a98a0e92486b34db28985b34bdbaf4 (diff) | |
| download | unexpected-keyboard-2060e6ab07ea1b16b368e2bab2423cfa35fac760.tar.gz unexpected-keyboard-2060e6ab07ea1b16b368e2bab2423cfa35fac760.zip | |
Add :keyevent key syntax
Allow to add keyevent keys to the keyboard. For example to add a
Play/Pause button:
:keyevent symbol='⏯' flags='small':85
Diffstat (limited to 'doc/Possible-key-values.md')
| -rw-r--r-- | doc/Possible-key-values.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/Possible-key-values.md b/doc/Possible-key-values.md index fbac203..5563078 100644 --- a/doc/Possible-key-values.md +++ b/doc/Possible-key-values.md @@ -189,3 +189,11 @@ keys. For example: - `:char symbol='љ':q`, which is used to implement `ctrl` shortcuts in cyrillic layouts. + +### Kind `keyevent` + +Defines a key that sends an Android [key event](https://developer.android.com/reference/android/view/KeyEvent). +`<payload>` is the key event number. + +For example: +- `:keyevent symbol='⏯' flags='small':85` |
