mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-10 12:09:31 +00:00
Add KEY_BACK to the default virtio keyboard
This allows simulating a hardware back button in android devices BUG=b:241614876 TEST=tools/presubmit Change-Id: I8243cb5f03a23b4c07fc2a4381d8e7362b229fc3 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3817971 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Jorge Moreira Broche <jemoreira@google.com> Reviewed-by: Dennis Kempin <denniskempin@google.com> Auto-Submit: Jorge Moreira Broche <jemoreira@google.com> Tested-by: Jorge Moreira Broche <jemoreira@google.com> Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
This commit is contained in:
parent
073b160755
commit
01ad8e7fad
1 changed files with 1 additions and 0 deletions
|
@ -282,6 +282,7 @@ fn default_keyboard_events() -> BTreeMap<u16, virtio_input_bitmap> {
|
|||
KEY_MUTE,
|
||||
KEY_VOLUMEDOWN,
|
||||
KEY_VOLUMEUP,
|
||||
KEY_BACK,
|
||||
]),
|
||||
);
|
||||
supported_events.insert(
|
||||
|
|
Loading…
Reference in a new issue