]> git.proxmox.com Git - mirror_qemu.git/commit
adb: change handler only when recognized
authorHervé Poussineau <hpoussin@reactos.org>
Tue, 25 Oct 2016 07:01:01 +0000 (09:01 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 27 Oct 2016 22:38:26 +0000 (09:38 +1100)
commita37eb9fccdd423e4f430b0261ee78c1692b7c252
tree5e0e1c9713fa7eda1921600b9b12091b7b480319
parent417ece33fc1095f8acfa31208a5502bb8957f000
adb: change handler only when recognized

ADB devices must take new handler into account only when they recognize it.
This lets operating systems probe for valid/invalid handles, to know device capabilities.

Add a FIXME in keyboard handler, which should use a different translation
table depending of the selected handler.

Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/input/adb.c