I was tired of coming back to this
[answer](
https://stackoverflow.com/a/68715061/9402438)
or
[this other Q&A](
https://stackoverflow.com/a/63916835/9402438)
to remember about the keyevent for showing the
virtual keyboard,
so first I wrote a `key2keyevent`
command to display all Android keyevents,
then I wrote a SurfaceFlinger version of `xdotool`
called
[`sdotool`](
https://github.com/themartiancompany/sdotool)
so I could have typed
```bash
sdotool \
key \
"button_start"
```
directly.
Then another year has passed and today I have decided
it was too much still to remember about `button_start`
and so I've added a `keyboard-show` and `keyboard-hide`
commands to the
[Android Input Utilities](
https://github.com/themartiancompany/android-input-utils)
I had found myself having written.
I was tired of coming back to this
[answer](
https://stackoverflow.com/a/63916835/9402438)
or
[this other Q&A](
https://stackoverflow.com/a/68715061/9402438)
to remember about the keyevent for showing the
virtual keyboard,
so first I wrote a `key2keyevent`
command to display all Android keyevents,
then I wrote a SurfaceFlinger version of `xdotool`
called
[`sdotool`](
https://github.com/themartiancompany/sdotool)
so I could have typed
```bash
sdotool \
key \
"button_start"
```
directly.
Then another year has passed and today I have decided
it was too much still to remember about `button_start`
and so I've added a `keyboard-show` and `keyboard-hide`
commands to the
[Android Input Utilities](
https://github.com/themartiancompany/android-input-utils)
I had found myself having written.